in reply to CloneArmyCommander Tries His Luck at JAPH
++ CloneArmyCommander :-) That had me there for a bit, cause I didn't understand what you were doing replacing each '.' with a word boundary (\b). Then I realised it was actually a backspace.I'm assuming this means (correct me if I'm wrong) in the 'match part' of the s/// operator, a '\b' matches a word boundary; but in the 'replace part' it replaces with a backspace. At least this was the case when I tested with perl -ple "s/\b/./g" Am I going in the right direction, anyone?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CloneArmyCommander Tries His Luck at JAPH
by CloneArmyCommander (Friar) on Jan 27, 2005 at 19:30 UTC |