equal
deleted
inserted
replaced
36 |
36 |
37 SEPARATOR_RE = regex.compile(r"^__$") |
37 SEPARATOR_RE = regex.compile(r"^__$") |
38 HEADWORD_RE = regex.compile(r"^(\p{L}.*)$") |
38 HEADWORD_RE = regex.compile(r"^(\p{L}.*)$") |
39 HEADWORD_VAR_RE = regex.compile(r"^ +(s|pl|v[123]|male|female|comp|super)$") |
39 HEADWORD_VAR_RE = regex.compile(r"^ +(s|pl|v[123]|male|female|comp|super)$") |
40 HEADWORD_PRON_RE = regex.compile(r"^ +\[([\p{L}' ]+)\]$") |
40 HEADWORD_PRON_RE = regex.compile(r"^ +\[([\p{L}' ]+)\]$") |
41 TRANSL_POS_RE = regex.compile(r"^n|pron|adj|v|adv|prep|conj|num|int|phr\.v|abbr|prefix$") |
41 TRANSL_POS_RE = regex.compile(r"^n|pron|adj|v|adv|prep|conj|num|int|phr|phr\.v|abbr|prefix$") |
42 TRANSL_RE = regex.compile(r"^(ru|uk|la|en): ([\p{L}(].*)$") |
42 TRANSL_RE = regex.compile(r"^(ru|uk|la|en): ([\p{L}(].*)$") |
43 TRANSL_EX_RE = regex.compile(r"^(ru|uk|la|en)> (\p{L}.*)$") |
43 TRANSL_EX_RE = regex.compile(r"^(ru|uk|la|en)> (\p{L}.*)$") |
44 TOPIC_RE = regex.compile(r"^topic: (\p{L}.*)$") |
44 TOPIC_RE = regex.compile(r"^topic: (\p{L}.*)$") |
45 |
45 |
46 CONT_RE = regex.compile(r"^ +(.*)") |
46 CONT_RE = regex.compile(r"^ +(.*)") |