Skip to content
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

look-behind does not take Unicode case-folding into account #18

Closed
k-takata opened this issue May 29, 2013 · 1 comment
Closed

look-behind does not take Unicode case-folding into account #18

k-takata opened this issue May 29, 2013 · 1 comment
Labels
bug

Comments

@k-takata
Copy link
Owner

@k-takata k-takata commented May 29, 2013

Originally reported in #17 (comment) .

>> /(?:\u{149})a/ui =~ "[\u{2bc}na]"  # Unicode case-folding match is in effect.
=> 1
>> /(?<=\u{149})a/ui =~ "[\u{2bc}na]"  # But look-behind does not take account of it.
=> nil
k-takata added a commit that referenced this issue Oct 18, 2016
This fix is imported from oniguruma:
kkos/oniguruma@3340ec2
@k-takata
Copy link
Owner Author

@k-takata k-takata commented Oct 18, 2016

Fixed in devel-6.0 branch. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.