in reply to string substitution
Whitespace is contained in [^\w]. Maybe you want to use \S instead of [^\w]? Or, if you just want to remove all spaces, why don't you use s/\s//g?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: string substitution
by Gosh (Initiate) on Dec 04, 2010 at 11:23 UTC | |
by GrandFather (Saint) on Dec 06, 2010 at 20:14 UTC |