2 ms·The same way I verify that my own regex is correct: by running a few test cases and then crossing my fingers.by sellyme 5y agoThe same way I verify that my own regex is correct: by running a few test cases and then crossing my fingers.