http://www.perlmonks.org?node_id=801920


in reply to About \d \w and \s

/a ASCII/Perl [A-Za-z0-9_] [ \t\r\n] [ +0-9]

That should be:

/a ASCII/Perl [A-Za-z0-9_] [ \t\f\r\n] + [0-9]

\f is also in the \s character class.

Replies are listed 'Best First'.
Re^2: About \d \w and \s
by demerphq (Chancellor) on Oct 19, 2009 at 06:04 UTC

    Good catch.

    ---
    $world=~s/war/peace/g