in reply to CloneArmyCommander Tries His Luck at JAPH

You had to escape the dot because in a regex, "." means "any character except newline" (it includes newline to, depending on your regex modifiers). Unescaped, s/./\b/g replaces every character with a backspace (\b) character.

Replies are listed 'Best First'.
Re^2: CloneArmyCommander Tries His Luck at JAPH
by CloneArmyCommander (Friar) on Jan 14, 2005 at 22:15 UTC
    Thanks :). I had never tried to match a period before, so it totally threw me off guard when I got a warning, and esaping it was an accident that happened to make the code interpret :).