Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Regex: Extract base URL for a specific domain

by daxim (Chaplain)
on Aug 29, 2013 at 14:01 UTC ( #1051444=note: print w/replies, xml ) Need Help??


in reply to Regex: Extract base URL for a specific domain

The output of the urifind filter has a large overlap with your desired result.
  • Comment on Re: Regex: Extract base URL for a specific domain

Replies are listed 'Best First'.
Re^2: Regex: Extract base URL for a specific domain
by alpha-lemming (Novice) on Aug 29, 2013 at 14:53 UTC

    Yeah, I did try URI::Find, but it was getting confused by some of the junk in the file and returning overlapping URIs

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1051444]
help
Chatterbox?
ExReg takes a cookie from the platter on the sideboard.
ExReg gets a tall glass of milk to wash down the cookies.

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (None)
    As of 2017-04-27 01:03 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      I'm a fool:











      Results (497 votes). Check out past polls.