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!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Windows and backslashes and replacements oh my!
by LanX (Saint) on Jun 18, 2021 at 19:28 UTC | |
Re^3: Windows and backslashes and replacements oh my!
by The Perlman (Scribe) on Jun 19, 2021 at 09:34 UTC | |
by LanX (Saint) on Jun 19, 2021 at 10:47 UTC | |
by LanX (Saint) on Jun 19, 2021 at 12:09 UTC |
In Section
Seekers of Perl Wisdom