Convert Marginal Notes

Correct the TEI-encoding on marginal notes

Use the first regex (find/replace) for anchored marginal notes, and the second for unanchored marginal notes.

find <note\s+anchored=\"true\"\s+n=\"(\d{1,3})\"\s+place=\"bottom\"\s+type=\"authorial\"\s*><p>(<hi rend=\"[\w\s]*\">)*\s*\[m\]\s*
replace <note anchored="true" n="\1" place="margin" type="authorial"><p>\2
find <note\s+anchored=\"true\"\s+n=\"(\d{1,3})\"\s+place=\"bottom\"\s+type=\"authorial\"\s*><p>(<hi rend=\"[\w\s]*\">)*\s*\[mu\]\s*
replace <note anchored="false" n="\1" place="margin" type="authorial"><p>\2