in reply to Problem with regex substitution within windows paths
Your string replacement contains characters that are special to the regex engine. See perlop on \Q resp. quotemeta.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with regex substitution within windows paths
by halfcountplus (Hermit) on Jul 08, 2011 at 17:42 UTC | |
|
Re^2: Problem with regex substitution within windows paths
by jmb (Novice) on Jul 11, 2011 at 12:32 UTC |