Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #67124] [BUG] Rakudo doesn't parse embedded comments inside the <> part of <[]> constructs in rules

0 views
Skip to first unread message

Carl Mäsak

unread,
Jul 1, 2009, 9:13:51 AM7/1/09
to bugs-bi...@netlabs.develooper.com
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #67124]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=67124 >


<masak> rakudo: say "foo" ~~ /<[f] #[comment] + [o]>/
<p6eval> rakudo 5351a3: OUTPUT«perl6regex parse error: Error parsing
enumerated character class at offset 30, found '[ [...]
<masak> pmichaud: I posit that this should work.
<pmichaud> pge doesn't understand embedded comments.
<masak> it does outside of <>.
<pmichaud> right
<masak> rakudo: say "foo" ~~ / fo #[ comment here! ] o /
<p6eval> rakudo 5351a3: OUTPUT«foo␤»
<pmichaud> huh.
<pmichaud> well, it's very likely that the part that parses <[ ... ]>
doesn't understand them then.
[15:10]
<pmichaud> std: /<[f] #[comment] + [o]>/
<p6eval> std 27351: OUTPUT«ok 00:03 36m␤»
* masak submits rakudobug

0 new messages