From: Matthew Flatt (mflatt at cs.utah.edu) Date: Fri Jan 23 13:00:34 EST 2009 |
|
At Fri, 23 Jan 2009 10:55:58 -0700, Doug Williams wrote: > Is there a quick way to validate that a string represents a valid regular > expression? As far as I can tell, catching any exception raised by regexp > (or pregexp) with the string is the best way to do it. Yes, that's the best way I can think of. Matthew
Posted on the users mailing list. |
|