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

unrecognized meta character in regexes produces LTA error message #2088

Closed
p6rt opened this issue Aug 23, 2010 · 6 comments
Closed

unrecognized meta character in regexes produces LTA error message #2088

p6rt opened this issue Aug 23, 2010 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Aug 23, 2010

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

Searchable as RT77386$

@p6rt
Copy link
Author

p6rt commented Aug 23, 2010

From @moritz

20​:26 <+p6eval> std 32088​: OUTPUT«===SORRY!===␤Unrecognized regex
metacharacter (must be quoted to match literally) at /tmp/iBU9UZsd8y
line 1​:␤------> / -⏏ /␤Can't call method "from" on unblessed reference
at STD.pm line 53782.␤FAILED 00​:01 115m␤»
20​:26 < moritz_> rakudo​: / - /
20​:26 <+p6eval> rakudo b958a1​: OUTPUT«===SORRY!===␤Confused at line 22,
near "/ - /"␤»

Rakudo doesn't even mention that the problem occurs in a regex

@p6rt
Copy link
Author

p6rt commented Nov 20, 2012

From @FROGGS

looks better now​:
<FROGGS> r​: / - /
<p6eval> rakudo bf472b​: OUTPUT«===SORRY!===␤Unrecognized regex
metacharacter - (must be quoted to match literally) at line 2, near " /"␤»

@p6rt
Copy link
Author

p6rt commented Nov 20, 2012

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

@p6rt
Copy link
Author

p6rt commented Nov 23, 2012

@p6rt
Copy link
Author

p6rt commented Nov 23, 2012

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

@p6rt p6rt closed this as completed Nov 23, 2012
@p6rt
Copy link
Author

p6rt commented Nov 25, 2012

From @FROGGS

The test has been improved by moritz, since there is now a typed
exception X​::Syntax​::Regex​::UnrecognizedMetachar.

Current smoke report (test 12)​:
http://smolder.parrot.org/app/projects/tap_stream/32466/297

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

No branches or pull requests

1 participant