refactored regex matching to be executed at the latest possible moment and after a match was found to skip all consecutive regex execution instead of running *all* of the checks upfront
removed (undocumented) `mozilla` flag that was merely mirroring the `gecko` flag