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

:11 isn't a parse error in a regex in Rakudo #4415

Closed
p6rt opened this issue Jul 20, 2015 · 4 comments
Closed

:11 isn't a parse error in a regex in Rakudo #4415

p6rt opened this issue Jul 20, 2015 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jul 20, 2015

Migrated from rt.perl.org#125648 (status was 'resolved')

Searchable as RT125648$

@p6rt
Copy link
Author

p6rt commented Jul 20, 2015

From @masak

<TimToady> m​: say '00​:11​:22' ~~ /00​:11​:22/
<camelia> rakudo-moar f90dfc​: OUTPUT«Nil␤»
<masak> that ought to at least warn...
<TimToady> std​: say '00​:11​:22' ~~ /00​:11​:22/
<camelia> std 28329a7​: OUTPUT«===SORRY!===␤Unrecognized regex modifier
:11 [...] Check failed␤FAILED …»
<masak> right.
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Jul 20, 2015

From @jnthn

On Mon Jul 20 13​:49​:54 2015, masak wrote​:

<TimToady> m​: say '00​:11​:22' ~~ /00​:11​:22/
<camelia> rakudo-moar f90dfc​: OUTPUT«Nil␤»
<masak> that ought to at least warn...
<TimToady> std​: say '00​:11​:22' ~~ /00​:11​:22/
<camelia> std 28329a7​: OUTPUT«===SORRY!===␤Unrecognized regex modifier
:11 [...] Check failed␤FAILED …»
<masak> right.
* masak submits rakudobug

Now it complains​:

$ perl6-m -e "say '00​:11​:22' ~~ /00​:11​:22/"
===SORRY!=== Error while compiling -e
Unrecognized regex modifier :11
at -e​:1
------> say '00​:11​:22' ~~ /00​:11<HERE>​:22/

Test added in S05-metasyntax/unknown.t.

@p6rt
Copy link
Author

p6rt commented Jul 20, 2015

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jul 20, 2015

@jnthn - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Jul 20, 2015
@p6rt p6rt added the Bug label Jan 5, 2020
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