If the first of the three terms is true, the remaining two cannot be false, if the regex configuration is sane.
So why check them on each parse?
(Compare the python parser)

If you want to check them, an assert seems more appropriate to me.