On 2010-06-02, at 7:59 pm, Patrick R. Michaud via RT wrote:
> You're reading this wrong. A regex is like a sub, so your final example
> is saying something more like:
> say rx { $_ } for
Doh, of course! I'm still stuck in P5-think. (Also explains why eval()
worked... that should have give
On Wed Jun 02 14:50:54 2010, david.gr...@telus.net wrote:
> Creating several regexes should return several different objects:
>
> say /@_[0]/, /@_[1]/, /@_[2]/ given
> _block27 _block35 _block43
>
>
> However, inside a loop, instead of different regexes, the final one
> gets repeated:
>
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #75514]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75514 >
rakudo: exit
rakudo 18d996: OUTPUT« in main program body at line 1»
* masak submits
# New Ticket Created by David Green
# Please include the string: [perl #75526]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75526 >
Certain ranges with endpoints that aren't 0-9, A-Z don't work:
say <@>..
say <á>
# New Ticket Created by David Green
# Please include the string: [perl #75524]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75524 >
Creating several regexes should return several different objects:
say /@_[0]/, /@_[1
On 2010-05-31, at 5:32 pm, Chris Fields wrote:
> I think, in order to get regexes to work we will need a way of getting the
> name of the matching regex from the Match object somehow. Any idea how to do
> that?
I had started working on this too, and ended up going on quite an adventure...
my
Hi,
the attached patch modifying HLLCompiler.pir supports parsing from an
arbitrary rule in a grammar, using the $:rule parameter
Example :
grammar A { token a { a } }; say A.parse('a', :rule).perl
This is nice for testing part of a grammar.
This patch is the result of the following conversat
# New Ticket Created by Adrian White
# Please include the string: [perl #75504]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75504 >
On Rakudo @ 1727ca53c7052fabe008748b70823bf8460ad656
In trying to write tests for Day 2
# New Ticket Created by Adrian White
# Please include the string: [perl #75502]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75502 >
Using %() to coerce hash context causes Rakudo to core dump.
e.g. Using Rakudo @ 18d996