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
I'm wondering if it would be possible to add support for Unicode regular expressions? Currently, it seems that the "u" flag is discarded when the lexer compiles a rule. Unicode regular expressions are necessary to properly match non BMP characters (e.g. emojis) as well as use Unicode properties as character classes.
The text was updated successfully, but these errors were encountered:
It doesn't work once you start using definitions: the u flag is not allowed in the regexp passed to addDefinition. The syntax for definitions is also problematic, as it relies on a deprecated syntax that Unicode regexps don't allow.
Hi! Thanks for this great library.
I'm wondering if it would be possible to add support for Unicode regular expressions? Currently, it seems that the "u" flag is discarded when the lexer compiles a rule. Unicode regular expressions are necessary to properly match non BMP characters (e.g. emojis) as well as use Unicode properties as character classes.
The text was updated successfully, but these errors were encountered: