![]() |
|
There's more than one way to do things | |
PerlMonks |
Re^2: Extracting a domain name from a urlby rhesa (Vicar) |
on Oct 15, 2006 at 18:26 UTC ( #578411=note: print w/replies, xml ) | Need Help?? |
Yup, your solution does work for the majority of urls.
For the record, here are some urls that wouldn't be handled properly with your regex:
In Section
Seekers of Perl Wisdom
|
|