in reply to Detecting if a string is a regular expression
What problem are you trying to solve?
Dave