![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re^5: Windows and backslashes and replacements oh my! (two escapings in LHS of s///)by LanX (Sage) |
on Jun 19, 2021 at 12:09 UTC ( #11134024=note: print w/replies, xml ) | Need Help?? |
> > Obviously Perl needs to escape the backslash inside a regex > not after interpolation of variables like $bs I have to correct myself, it depends on the side of the substitution
or to eliminate the Win command line
so this might be the OPs original problem see also s/RegEx/substitutions/: Variable interpolation and when to use /e - modifiers
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|