in reply to Priority of | regex operator
Take a look at this input:
That will result inthis_line_'aaaaaa|bbbbbb|cccccc|dddddd|eeeee...'_
because the '_ is the first bit that makes the second group match successfully.aaaaaa|bbbbbb|cccccc|dddddd|eeeee...
|
|---|