in reply to Re^2: How to use \W in Regular Expression?
in thread How to use \W in Regular Expression?
Not sure what you mean. There's no problem with adding <em>...</em> around the word "perl", it's just the \W+ that's inappropriate in the string to substitute...
Think of it this way: What concrete characters (and how many) should be substituted from the class of characters that \W stands for?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to use \W in Regular Expression?
by Sachin (Acolyte) on Dec 30, 2009 at 12:31 UTC | |
by ikegami (Patriarch) on Dec 30, 2009 at 12:37 UTC | |
by almut (Canon) on Dec 30, 2009 at 12:36 UTC | |
by AnomalousMonk (Archbishop) on Dec 30, 2009 at 13:10 UTC | |
by ikegami (Patriarch) on Dec 30, 2009 at 14:25 UTC | |
by AnomalousMonk (Archbishop) on Dec 31, 2009 at 21:44 UTC |