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?
[Corion]: Now, how to best automate that Google search ... :-)
[Corion]: marto: Yeah, I'm also short of not reading it at all. I already stopped reading it in the morning because it gave me a foul mood.
[Corion]: The good posts on HN are the non-computing posts. Most of the other stuff is maybe relevant to you if you are 20 and live in Silicon Valley...
[Corion]: Two attributes that don't describe me.
[Corion]: Maybe I should also write a curator for HN or simply not read it anymore, like you do.

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2017-07-24 13:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (354 votes). Check out past polls.