in reply to s///g and capturing all matches
To quote the documentation of s/// it " returns the number of substitutions made". You made two substitutions, so the result is 2
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: s///g and capturing all matches
by Random_Walk (Prior) on Dec 16, 2011 at 09:59 UTC |