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


in reply to Re^7: Regex problems using '|'
in thread Regex problems using '|'

Ah.

Now moritz's other reply makes sense. Thanks! That's what I needed to know.

I expected the regex engine's '|' to work like the 'or' or '||' operators. So much for that. ;)