Skip to content
Snippets Groups Projects
Commit 8f57acb0 authored by Simon Will's avatar Simon Will
Browse files

Allow h in muta_cum_liquida (e. g. barathrum)

parent bfe3db81
No related branches found
No related tags found
No related merge requests found
......@@ -389,7 +389,7 @@ def get_syllables(reading):
def muta_cum_liquida(verse):
mcl_regex = re.compile(
r'[aeiouvy](([bpsckgdt]|(qu)|(qv))\W*[lrmn])([aeiouvy]|[.?!]|$)',
r'[aeiouvy](([bpsckgdt]|(qu)|(qv))[h\W]*[lrmn])([aeiouvy]|[.?!]|$)',
flags=re.IGNORECASE
)
if re.search(mcl_regex, verse.text):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment