Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: regex return true instead of false

by jwkrahn (Abbot)
on Aug 26, 2019 at 22:40 UTC ( [id://11105096]=note: print w/replies, xml ) Need Help??


in reply to regex return true instead of false

It looks like you may need:

if ( $args !~ /\-rs(\s+)(\S+)/ && $args !~ /\-p(\s+)(\S+)/ && $args !~ + /\-P(\s+)(\S+)/ ) { $args .= " --rs $str"; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-16 18:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found