Cleanup Entry Files

Check entry files for common problems.

search replace settings
Find remaining @@@s
@
manual cleanup
Encode anchored marginal notes
(<note\s+anchored=\"true\"\s+n=\"\d{1,3}\"\s+place=\")bottom(\"\s+type=\"authorial\"\s*><p>)
(<hi\s+rend=\"[\w\s]*\">)*\s*\[\s*m\s*\]
\1margin\2\3
regex
Encode unanchored marginal notes
(<note\s+anchored=\")true(\"\s+n=\"\d{1,3}\"\s+place=\")bottom(\"\s+type=\"authorial\"\s*><p>)
(<hi\s+rend=\"[\w\s]*\">)*\s*\[\s*mu\s*\]
\1false\2margin\3\4
regex
Remove false space within entry terms
<label>([A-ZÀ-Ù]{2,}) ([A-ZÀ-Ù]{2,})
<label>\1\2
regex
Remove life dates from entry terms
(\s+\(c)(</hi></label>)
\2\1
regex; check every instance