Sha256: 6869040cf6362f29a48a6715ff103bddaeec769232a397b3f63a9818492c481b
Contents?: true
Size: 1.44 KB
Versions: 8
Compression:
Stored size: 1.44 KB
Contents
package PPI::Token::Regexp::Match; =pod =head1 NAME PPI::Token::Regexp::Match - A standard pattern match regex =head1 INHERITANCE PPI::Token::Regexp::Match isa PPI::Token::Regexp isa PPI::Token isa PPI::Element =head1 SYNOPSIS $text =~ m/match regexp/; $text =~ /match regexp/; =head1 DESCRIPTION A C<PPI::Token::Regexp::Match> object represents a single match regular expression. Just to be doubly clear, here are things that are and B<aren't> considered a match regexp. # Is a match regexp /This is a match regexp/; m/Old McDonald had a farm/eieio; # These are NOT match regexp qr/This is a regexp quote-like operator/; s/This is a/replace regexp/; =head1 METHODS There are no methods available for C<PPI::Token::Regexp::Match> 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.281'; 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
Version data entries
8 entries across 4 versions & 1 rubygems