67 lines
1.2 KiB
Perl
67 lines
1.2 KiB
Perl
package PPI::Token::Regexp::Substitute;
|
|
|
|
=pod
|
|
|
|
=head1 NAME
|
|
|
|
PPI::Token::Regexp::Substitute - A match and replace regular expression token
|
|
|
|
=head1 INHERITANCE
|
|
|
|
PPI::Token::Regexp::Substitute
|
|
isa PPI::Token::Regexp
|
|
isa PPI::Token
|
|
isa PPI::Element
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
$text =~ s/find/$replace/;
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
A C<PPI::Token::Regexp::Substitute> object represents a single substitution
|
|
regular expression.
|
|
|
|
=head1 METHODS
|
|
|
|
There are no methods available for C<PPI::Token::Regexp::Substitute>
|
|
beyond those provided by the parent L<PPI::Token::Regexp>, L<PPI::Token>
|
|
and L<PPI::Element> classes.
|
|
|
|
=cut
|
|
|
|
use strict;
|
|
use PPI::Token::Regexp ();
|
|
use PPI::Token::_QuoteEngine::Full ();
|
|
|
|
our $VERSION = '1.270'; # VERSION
|
|
|
|
our @ISA = qw{
|
|
PPI::Token::_QuoteEngine::Full
|
|
PPI::Token::Regexp
|
|
};
|
|
|
|
1;
|
|
|
|
=pod
|
|
|
|
=head1 SUPPORT
|
|
|
|
See the L<support section|PPI/SUPPORT> in the main module.
|
|
|
|
=head1 AUTHOR
|
|
|
|
Adam Kennedy E<lt>adamk@cpan.orgE<gt>
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
Copyright 2001 - 2011 Adam Kennedy.
|
|
|
|
This program is free software; you can redistribute
|
|
it and/or modify it under the same terms as Perl itself.
|
|
|
|
The full text of the license can be found in the
|
|
LICENSE file included with this module.
|
|
|
|
=cut
|