http://www.perlmonks.org?node_id=1015834


in reply to Re: URL pattern matching:
in thread URL pattern matching:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^3: URL pattern matching:
by Anonymous Monk on Jan 29, 2013 at 09:02 UTC
    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 ...