in reply to Re^2: Perl regex. Why does this happen?
in thread Perl regex. Why does this happen?

\h added with Perl version 5.10.


Give a man a fish:  <%-{-{-{-<

Replies are listed 'Best First'.
Re^4: Perl regex. Why does this happen? (^\S\n)
by tye (Sage) on Jun 07, 2016 at 15:53 UTC

    If you want to be backward compatible, you can substitute [^\S\n] for \h.

    - tye