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 reply to Re^2: Windows and backslashes and replacements oh my!
by stevieb
in thread Windows and backslashes and replacements oh my!
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |