Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Test RegEx Validity

by Prior Nacre V (Hermit)
on Nov 29, 2004 at 04:42 UTC ( [id://410858]=note: print w/replies, xml ) Need Help??


in reply to Test RegEx Validity

That can be dangerous. Here's a valid regex:

[ ~/tmp ] $ perl -wle 'use strict; my $x = qr(s/.*/system("rm *")/e); +print $x;' (?-xism:s/.*/system("rm *")/e) [ ~/tmp ] $

You're probably going to need additional regex validation.

Regards,

PN5

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-25 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found