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


in reply to Re^2: March a regex using split function
in thread March a regex using split function

I've no idea what "our" requirement is. My practice is to deploy defensive whitespace in situations like this.

Always /xms:

These regex behavior modifications reduce the "degrees of freedom" of regexes — less to think about.


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

Replies are listed 'Best First'.
Re^4: March a regex using split function
by Anonymous Monk on Sep 13, 2017 at 07:34 UTC
    ppixregexplain.pl
    'mods.x' => '(?x) disregarding whitespace and comments', 'mods.-x' => '(?-x) matching whitespace and # normally',