ketema has asked for the wisdom of the Perl Monks concerning the following question:
Now I could easily substitute out...$string = "Test: FileNames can't have / \\ and other special character +s";
And the value of $string is:$string =~ /\:/COLON/g; $string =~ /\//FSLASH/g; $string =~ /\\/BSLASH/g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is Group Substitution Possible?
by Anonymous Monk on Jul 28, 2005 at 20:09 UTC | |
by ketema (Scribe) on Jul 28, 2005 at 20:13 UTC | |
by sk (Curate) on Jul 28, 2005 at 20:23 UTC | |
by ihb (Deacon) on Jul 29, 2005 at 16:08 UTC | |
|
Re: Is Group Substitution Possible?
by sk (Curate) on Jul 28, 2005 at 20:06 UTC | |
by ketema (Scribe) on Jul 28, 2005 at 20:11 UTC | |
|
Re: Is Group Substitution Possible?
by tlm (Prior) on Jul 29, 2005 at 02:18 UTC |