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
Implementation details leak through in variable interpolation into regexes #2488
Comments
From @moritz08:19 < moritz> nom: my $x = '1}; say "pwnd"; #'; 'a' ~~ /<$x>/ |
From @FROGGSbetter? <FROGGS> r: my $x = '1}; say "pwnd"; #'; 'a' ~~ /<$x>/ |
The RT System itself - Status changed from 'new' to 'open' |
From @moritzOn Wed Nov 21 08:24:32 2012, FROGGS.de wrote:
Not at all. It should complain that is not a valid regex. |
From @usev6Nowadays this no longer says "pwnd", but complains about two terms in a row: $ perl6 -e 'my $x = Q[1}; say "pwnd"; #]; "a" ~~ /<$x>/' skids++ added a test to S05-interpolation/regex-in-variable.t (commit Raku/roast@5c539db0a7) which checks whether the command dies. Is that good enough to close the ticket? |
1 similar comment
From @usev6Nowadays this no longer says "pwnd", but complains about two terms in a row: $ perl6 -e 'my $x = Q[1}; say "pwnd"; #]; "a" ~~ /<$x>/' skids++ added a test to S05-interpolation/regex-in-variable.t (commit Raku/roast@5c539db0a7) which checks whether the command dies. Is that good enough to close the ticket? |
From @usev6Output has changed: $ perl6-m -e 'my $x = Q[1}; say "pwnd"; #]; "a" ~~ /<$x>/' $ perl6-m --version |
1 similar comment
From @usev6Output has changed: $ perl6-m -e 'my $x = Q[1}; say "pwnd"; #]; "a" ~~ /<$x>/' $ perl6-m --version |
From @TimToadyA new restricted dialect of regex is implemented in 28ab83f947b4899a4f8698eee5bc056742f356f1 and 19d84be0066978f616ace6fa9f506e742161a378 Tests in 1becd7c9b456b707a14bfba40d672ec28945f199 |
1 similar comment
From @TimToadyA new restricted dialect of regex is implemented in 28ab83f947b4899a4f8698eee5bc056742f356f1 and 19d84be0066978f616ace6fa9f506e742161a378 Tests in 1becd7c9b456b707a14bfba40d672ec28945f199 |
@TimToady - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#100232 (status was 'resolved')
Searchable as RT100232$
The text was updated successfully, but these errors were encountered: