Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Avoid a single value in the url

by Anonymous Monk
on Jan 24, 2013 at 09:48 UTC ( #1015128=note: print w/replies, xml ) Need Help??


in reply to Avoid a single value in the url

Please tell how to modify the above regex.

No thanks, see perlrequick if you're interested

if( isBlahGallery( $url ) ){ die "failed it"; } sub isBlahGallery { $_[0] =~ m{\.com/gallery}ism; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015128]
help
Chatterbox?
[Eily]: still not xD there
[hippo]: See also Getting Started with Perl for some gentle introductory tutorials.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2018-02-21 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (276 votes). Check out past polls.

    Notices?