golden hour
/opt/cpanel/perl5/536/site_lib/PPI/Token/Regexp
⬆️ Go Up
Upload
File/Folder
Size
Actions
Match.pm
1.44 KB
Del
OK
Substitute.pm
1.18 KB
Del
OK
Transliterate.pm
1.39 KB
Del
OK
Edit: Match.pm
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.278'; 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
Save