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


PPI documentation  | view source Contained in the PPI distribution.

Index


NAME

Top

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

INHERITANCE

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

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/;

METHODS

Top

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.

Got any ideas for methods? Submit a report to rt.cpan.org!

SUPPORT

Top

See the support section in the main module.

AUTHOR

Top

Adam Kennedy <adamk@cpan.org>

COPYRIGHT

Top


PPI documentation  | view source Contained in the PPI distribution.