[ABE.pm] possible bug in Regexp::Assemble

Ted Fiedler fiedlert at gmail.com
Thu Jan 17 04:04:59 PST 2008


Ricardo SIGNES wrote:
> * Ted Fiedler <fiedlert at gmail.com> [2008-01-16T14:57:49]
>   
>> my $ra = Regexp::Assemble->new;
>> $ra->add( 'ab+c' );
>> $ra->add( 'ab+-' );
>> $ra->add( 'a\w\d+' );
>> $ra->add( 'a\d+' );
>> print $ra->re; # prints a(?:\w?\d+|b+[-c])
>>     
>
> I get: (?-xism:a(?:\w?\d+|b+[-c]))
>
> Regexp::Assemble is up to date (0.32).
>
> perl 5.10.0
>
>   
Oddly, I can only reproduce this on this particular box. 
Regexp::Assemble is @ 0.32 and perl 5.10.0

Since the code is not going to be running on this box, Im not going to 
worry too much.

Thanks
Ted


More information about the ABE-pm mailing list