Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Heuristic for parsing Host name and domainby Corion (Patriarch) |
on Aug 29, 2011 at 15:43 UTC ( [id://923053]=note: print w/replies, xml ) | Need Help?? |
Your approach seems to fail for .de in one case and .name, .mobi, .museum in the other case. The only approach is to use a list of known TLDs.
In Section
Seekers of Perl Wisdom
|
|