Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Compare two regex patterns

by quester (Vicar)
on Mar 06, 2008 at 07:19 UTC ( [id://672383]=note: print w/replies, xml ) Need Help??


in reply to Compare two regex patterns

Before writing a UI that accepts regular expressions, you should review the (?{code}) and (??{code}) patterns in perlre. You will want to remember this curious statement...
use re 'eval'; # Open Pandora's box
and make sure it is NOT being used*... otherwise your users may find some remarkably interesting patterns to type in.

 

* (at least, not in the same section of code, and not without turning on taint.)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://672383]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-03-28 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found