in reply to Re: Windows and backslashes and replacements oh my!
in thread Windows and backslashes and replacements oh my!
Changing the line to the following has resolved the issue:
call perl -i.bak -ne "my $bs=chr(92); s/berrybrew(?!\\+test)/berrybrew +${bs}${bs}test/; print" test/data/config.json
Thanks!
In Section
Seekers of Perl Wisdom