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


in reply to Re^2: About a piece of code
in thread About a piece of code

Whitespace is \n\f\s\f\r Update: oof..goof should be \n\f\s\t\r order doesn't matter,

\s is not a whitespace character.   In a regular expression it is a character class that includes the characters [ \t\n\r\f] and in a double quoted string it is the character s.