Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: URL pattern matching:

by moritz (Cardinal)
on Jan 29, 2013 at 08:53 UTC ( #1015830=note: print w/ replies, xml ) Need Help??

in reply to URL pattern matching: - Works

If by "works" you mean "doesn't match", then I agree. Maybe you should clarify what URLs should match, what URLs should not match, and what information (if any) you are trying to extract.

I can give you a regex that matches all three URLs: .* but I guess that's not specific enough for you. So be more specific in your requirements.

Comment on Re: URL pattern matching:
Download Code
Replies are listed 'Best First'.
Re^2: URL pattern matching:
by Anonymous Monk on Jan 29, 2013 at 08:58 UTC
    Yes. Please help out in matching all the urls.
      The following regex matches all three of them:
      But possibly it is not what you want. As Moritz wrote, you should be more specific what should be matched and what not. And once you wrote detailed specs, maybe you can even find a fitting regex yourself ...

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2015-11-25 01:50 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (667 votes), past polls