in reply to Re^2: Unterminated \g... pattern in regex behaving badly on Windows
in thread Unterminated \g... pattern in regex behaving badly on Windows
Although in a couple of places I had to use the \Q ... \E syntax twice within one pattern:- like($@, qr/Cannot find directory\(ies\): $bad_gitdir/, + like($@, qr/\QCannot find directory(ies): $bad_gitdir\E/,
Thanks to all who responded. The revised code is available at Devel-Git-MultiBisect-0.07.tar.gz and should be available on CPAN within the hour. If anyone on Windows could give that a smoke test, that would be great.- like($@, qr/Cannot find file\(s\) to be tested:.*$bad_target_args +->[1]/, + like($@, qr/\QCannot find file(s) to be tested:\E.*\Q$bad_target_ +args->[1]\E/,
Thank you very much.
|
---|