You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some REPP rules that use inline flags, such as (?i) in the following rule:
!Β|&#((?i)x392);|Β Β
With Python's re module, inline flags affect the whole pattern and not just the sub-pattern, so this would match β as well as Β. PCRE does treats inline flags as local to their group, so it would match Β and notβ. The 3rd-party regex module of Python is more like PCRE, so we could possibly resolve the issue by using that module if it's available.
The text was updated successfully, but these errors were encountered:
Using the regex module fixes the issue at hand but raises another: nested sets. Currently the ERG's REPP system fails to load at all with regex because of unescaped brackets in a character class. See delph-in/erg#17.
There are some REPP rules that use inline flags, such as
(?i)
in the following rule:With Python's
re
module, inline flags affect the whole pattern and not just the sub-pattern, so this would matchβ
as well asΒ
. PCRE does treats inline flags as local to their group, so it would matchΒ
and notβ
. The 3rd-partyregex
module of Python is more like PCRE, so we could possibly resolve the issue by using that module if it's available.The text was updated successfully, but these errors were encountered: