in reply to Re: You won't believe what this regular expression does!
in thread You won't believe what this regular expression does!
Are there work-arounds to achieve what you want?
I sometimes use (?:\n|\z) to be explicit that I want the line endings to be consumed by the engine.
In Section
Seekers of Perl Wisdom