Regular expression for Regular expressions?
- by kavoir.com
I have an app that enables the user to input a regular expression, my question is how to check against any input of regular expressions and make sure they are valid ones because if they are not there will be preg_match errors.
I don't want to use the '@' before preg_match, so if there's a way to check the validity of the user input of regular…