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

ignorecase doesn't use foldcase semantics when the haystack is interpolated #6577

Open
p6rt opened this issue Oct 6, 2017 · 1 comment
Open
Labels

Comments

@p6rt
Copy link

p6rt commented Oct 6, 2017

Migrated from rt.perl.org#132233 (status was 'new')

Searchable as RT132233$

@p6rt
Copy link
Author

p6rt commented Oct 6, 2017

From @samcv

my $fi   = 'fi';
my $fi_d = 'fi';

#?rakudo.moar 2 todo "ignorecase doesn't use foldcase semantics when the
haystack is interpolated"
ok $fi_d ~~ /​:i $fi /, "ignorecase with ligature needle in variable
matches";
ok 'fi' ~~ /​:i $fi /, "ignorecase with ligature needle in variable matches";

These two fail. See failing tests in S05-modifier/ignorecase.t

Please note, for reasons I am not sure of, sometimes this will work if
you try and do it yourself in the REPL for instance. This needs more
investigating, but today I have not been able to figure out what is
going on. Help wanted.

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

No branches or pull requests

1 participant