NAME
URL::Transform::using::CSS::RegExp - regular expression parsing of the text/css
for url transformation
SYNOPSIS
my $urlt = URL::Transform::using::CSS::RegExp->new(
'output_function' => sub { $output .= "@_" },
'transform_function' => sub { return (join '|', @_) },
);
$urlt->parse_string("background: transparent url(/site/images/logo.png)");
print "and this is the output: ", $output;
DESCRIPTION
Performs an url transformation inside text/css
using regular expressions.
This module is used by URL::Transform.
PROPERTIES
output_function
transform_function
METHODS
new
Object constructor.
Requires:
output_function
transform_function
parse_string($string)
Submit meta content string for parsing.
parse_file($file_name)
Slurps the file and call $self->parse_string($content).
AUTHOR
Jozef Kutej