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
It seems that when using Joni as a regex library, negation in nested character classes is not respected in case-insensitive mode. The following examples demonstrate the issue:
This discrepancy appears to occur because Joni applies case folding only to the top-level character class: link. It doesn’t do so when it encounters a nested character class while recursively parsing the top-level class: link.
The text was updated successfully, but these errors were encountered:
It seems that when using Joni as a regex library, negation in nested character classes is not respected in case-insensitive mode. The following examples demonstrate the issue:
In comparison, in Java (which according to the documentation is the regex syntax Trino follows), all of the above cases return false.
This discrepancy appears to occur because Joni applies case folding only to the top-level character class: link. It doesn’t do so when it encounters a nested character class while recursively parsing the top-level class: link.
The text was updated successfully, but these errors were encountered: