Re: Regex repetition controlled by characters

2008-09-05 Thread Patrick R. Michaud
On Sun, Aug 31, 2008 at 08:33:48AM -0600, Stephen Simmons wrote: > In S05, I found this regarding the generalized repetition specifier: > > ** '|'# repetition controlled by presence of character > > I tried it out with > > rule thislist { ** '|' }; > > and got (with Rakudo): > >

Re: Regex repetition controlled by characters

2008-08-31 Thread Moritz Lenz
Stephen Simmons wrote: > In S05, I found this regarding the generalized repetition specifier: > > ** '|'# repetition controlled by presence of character > > I tried it out with > > rule thislist { ** '|' }; > > and got (with Rakudo): > > perl6regex parse error: Error in closure q

Regex repetition controlled by characters

2008-08-31 Thread Stephen Simmons
In S05, I found this regarding the generalized repetition specifier: ** '|'# repetition controlled by presence of character I tried it out with rule thislist { ** '|' }; and got (with Rakudo): perl6regex parse error: Error in closure quantifier at offset 28, found ''' Is this fe