Skip Menu |
 
Report information
Id: 77386
Status: resolved
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: moritz <moritz [at] faui2k3.org>
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: unrecognized meta character in regexes produces LTA error message
Date: Mon, 23 Aug 2010 20:27:35 +0200
To: rakudobug [...] perl.org
From: Moritz Lenz <moritz [...] faui2k3.org>
Download (untitled) / with headers
text/plain 451b
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
Download (untitled) / with headers
text/plain 179b
looks better now: <FROGGS> r: / - / <p6eval> rakudo bf472b: OUTPUT«===SORRY!===␤Unrecognized regex metacharacter - (must be quoted to match literally) at line 2, near " /"␤»
Download (untitled) / with headers
text/plain 207b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org