logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PPI::Token::Regexp::Match - A standard pattern match regex

Author

       Adam Kennedy <adamk@cpan.org>

Description

       A "PPI::Token::Regexp::Match" object represents a single match regular expression. Just to be doubly
       clear, here are things that are and 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/;

Inheritance

         PPI::Token::Regexp::Match
         isa PPI::Token::Regexp
             isa PPI::Token
                 isa PPI::Element

Methods

       There are no methods available for "PPI::Token::Regexp::Match" beyond those provided by the parent
       PPI::Token::Regexp, PPI::Token and PPI::Element classes.

Name

       PPI::Token::Regexp::Match - A standard pattern match regex

Support

       See the support section in the main module.

Synopsis

         $text =~ m/match regexp/;
         $text =~ /match regexp/;

See Also