On Tue, Apr 25, 2006 at 09:57:58PM -0400, Joe Gottman wrote:
> According to Synopsis 5, the repetition qualifier is now **{.} where the .
> must correspond to either an Int or a Range.  This seems rather restrictive.
> Why are we not allowed a junction of Ints, for instance 
> 
>             m/^ a**{1|3|5} $/ ; # Match 1,3, or 5 a's.

It would seem to me that the Right Thing is for the closure to return
something to ~~ against.  However, this obviously means that the regex
engine is going to have a harder time optimizing, and be somewhat more
complex, since it has to keep calling out to the smartmatcher.

Possibly we should make the syntax be a smart match, but only require that
conformat implementations implement ranges and integers.

         -=- James Mastros

Reply via email to