22 Jul 2005 10:09:39 UTC
- Distribution: URI-Find
- Module version: 1.8
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (9)
- Testers (570 / 3 / 0)
- KwaliteeBus factor: 0
- License: unknown
- Activity24 month
- Download (11.24KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Take me over?The maintainer of this distribution is looking for someone to take over! If you're interested then please contact them via email.
URI::Find::Schemeless - Find schemeless URIs in arbitrary text.
require URI::Find::Schemeless; my $finder = URI::Find::Schemeless->new(\&callback); The rest is the same as URI::Find.
URI::Find finds absolute URIs in plain text with some weak heuristics for finding schemeless URIs. This subclass is for finding things which might be URIs in free text. Things like "www.foo.com" and "lifes.a.bitch.if.you.aint.got.net".
The heuristics are such that it hopefully finds a minimum of false positives, but there's no easy way for it know if "COMMAND.COM" refers to a web site or a file.
my $tld_re = $self->top_level_domain_re;
Returns the regex for matching top level DNS domains. The regex shouldn't be anchored, it shouldn't do any capturing matches, and it should make itself ignore case.
Original code by Roderick Schertler <firstname.lastname@example.org>, adapted by Michael G Schwern <email@example.com>.
Currently maintained by Roderick Schertler <firstname.lastname@example.org>.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 78:
'=item' outside of any '=over'
- Around line 112:
You forgot a '=back' before '=head1'