Bug#675984: libregexp-assemble-perl: Doesn't handle closing parenthesis in charracter class correctly

2012-06-05 Thread Xavier
Le 04/06/2012 20:59, Witold Baryluk a écrit : > ... > After escaping closing ], character class is still going on, and s-[ is > interpreted > as character class range, but s-[ is invalid due to the fact that s is AFTER [ > in encoding. > > > (Building message is just print STDERR "Building: $str\

Bug#675984: libregexp-assemble-perl: Doesn't handle closing parenthesis in charracter class correctly

2012-06-04 Thread Witold Baryluk
Package: libregexp-assemble-perl Version: 0.35-5 Severity: important Hello again. One more problem. This code doesn't work properly, but should without problem use strict; use Regexp::Assemble; my $ra = Regexp::Assemble->new(); $ra->add('([^)])s-[01]'); print $ra->re; It looks like Regexp::A