laziness, impatience, and hubris | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi,
Is there a way that I can test whether or not a regular expression will compile without error without actually compiling it (and dieing if it does fail)? I have a tool I have written where my coworker and I must be adding and removing regular expressions on the fly; as it stands if we make a typo in the regex, the program dies which is highly undesireable. Thank you, Scott In reply to Test regex compile by scottb
|
|