NAME

URI::Find::Rule - Simpler interface to URI::Find

SYNOPSIS

use URI::Find::Rule;
# find all the http URIs in some text
my @uris = URI::Find::Rule->scheme('http')->in($text);
# or
my @uris = URI::Find::Rule->http->in($text);

# find all the URIs referencing a host
my @uris = URI::Find::Rule->host(qr/myhost/)->in($text);

DESCRIPTION

URI::Find::Rule is a simpler interface to URI::Find closely modelled on File::Find::Rule by Richard Clamp.