in reply to Regular expressions mystery

Aha, it should have been | instead of or. I did not know that.

Replies are listed 'Best First'.
Re^2: Regular expressions mystery
by haj (Vicar) on Jul 01, 2018 at 18:33 UTC
    Aha, it should have been | instead of or. I did not know that.
    What makes you say that? | is a "bitwise or" which isn't of any benefit here. or is quite fine!