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):
> 
> perl6regex parse error: Error in closure quantifier at offset 28, found '''
> 
> Is this feature unsupported at the moment or am I misunderstanding it?

It's unsupported at the moment -- currently this is RT #53100.

Pm


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 quantifier at offset 28, found '''
> 
> Is this feature unsupported at the moment or am I misunderstanding it?

It seems to be not yet supported, yes.

Moritz

-- 
Moritz Lenz
http://moritz.faui2k3.org/ |  http://perl-6.de/