in reply to Re: how to overcome Win32 path delimiter in s///?
in thread how to overcome Win32 path delimiter in s///?

that's precisely what I was hoping for. I failed to consider \Q..\E metacharacter manipulation. Thank you
  • Comment on Re^2: how to overcome Win32 path delimiter in s///?

Replies are listed 'Best First'.
Re^3: how to overcome Win32 path delimiter in s///?
by inman (Curate) on Oct 15, 2004 at 09:25 UTC
    The function quotemeta will acomplish the same thing if you use it on the value before it is interpolated by the regex.

    If you are particularly worried about forward slashes then you can just use an alternate character to delimit the parts of the substitution.
    e.g. single char s!!! or paired s()()