Quantcast
Viewing all articles
Browse latest Browse all 307

Find/Replace/Regular Expressions • Recent change in Perl RE matching

I have been depending for years on the fact that \s did not match the end-of-line with Regular expressions: Perl.
In the last month or so, it has changed and now an expression like "^\s+function" matches things like "<eol><eol>function".
Is it a recent change, a new parameter with "inverted" default (not matching the previous behaviour), or...?
Thanks for any comment.

statistics: Posted by pascal318409:43 - 1 day ago — Replies 4 — Views 138



Viewing all articles
Browse latest Browse all 307

Trending Articles