-
Notifications
You must be signed in to change notification settings - Fork 729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Case-insensitive regexes were useful #2760
Comments
Dr-Emann
added a commit
to Dr-Emann/croaring-rs
that referenced
this issue
Feb 13, 2024
See [bindgen issue][1], tl;dr, they deactivated unicode case insensitivity for regexes, which makes us do this slightly strange version [1]: rust-lang/rust-bindgen#2760
Dr-Emann
added a commit
to Dr-Emann/croaring-rs
that referenced
this issue
Feb 13, 2024
See [bindgen issue][1], tl;dr, they deactivated unicode case insensitivity for regexes, which makes us do this slightly strange version [1]: rust-lang/rust-bindgen#2760
Dr-Emann
added a commit
to Dr-Emann/croaring-rs
that referenced
this issue
Feb 13, 2024
See [bindgen issue][1], tl;dr, they deactivated unicode case insensitivity for regexes, which makes us do this slightly strange version [1]: rust-lang/rust-bindgen#2760
Dr-Emann
added a commit
to RoaringBitmap/croaring-rs
that referenced
this issue
Feb 19, 2024
See [bindgen issue][1], tl;dr, they deactivated unicode case insensitivity for regexes, which makes us do this slightly strange version [1]: rust-lang/rust-bindgen#2760
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think case insensitivity (
unicode-case
) was useful:--allowlist-item '(?i)(aaa|bbb).*'
used to work for e.g.AAA_CONST
, andbbb_func()
Now it (silently 😲) matches nothing.
As a workaround, it looks like for my case I can use
--allowlist-item '(?i-u:aaa|bbb).*'
, which turns on case insensitivity, and turns off unicode matching for my literal prefixes.Originally posted by @Dr-Emann in #2702 (comment)
The text was updated successfully, but these errors were encountered: