Reads the resource with read_resource(), and expects its text to match
regexp. A resource that cannot be read, an unknown URI or a function
that fails, is an error.
Arguments
- uri
URI of the resource.
- regexp
Regular expression the text of the resource must match, or
NULL.- ...
Passed to
read_resource().