Subject: | Parse problems under -d |
Hello,
I think this may be a problem with the debugger, rather than
this module. I first tried this module under perl -d and
got errors during parsing. Firstly, the version that works:
$ perl -MRegexp::Parser -le '$_=Regexp::Parser->new(qr/^a(b|c)/); print
$_->errmsg || $_->visual'
(?-xism:^a(b|c))
The same thing with -d then "c" to continue:
$ perl -d -MRegexp::Parser -le '$_=Regexp::Parser->new(qr/^a(b|c)/);
print $_->errmsg || $_->visual'
[...]
main::(-e:1): $_=Regexp::Parser->new(qr/^a(b|c)/); print $_->errmsg ||
$_->visual
DB<1> c
Unmatched (; marked by <-- HERE in m/(?-xism:^a(b|c)) <-- HERE / at -e
line 1
Debugged program terminated. Use q to quit or R to restart,
[...]
Regexp::Parser 0.20
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
Feel free to close this bug if it can't be fixed or belongs
somewhere else.
Brad