1PPI::Token::Regexp::MatUcshe(r3)Contributed Perl DocumenPtPaIt:i:oTnoken::Regexp::Match(3)
2
3
4

NAME

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

INHERITANCE

9         PPI::Token::Regexp::Match
10         isa PPI::Token::Regexp
11             isa PPI::Token
12                 isa PPI::Element
13

SYNOPSIS

15         $text =~ m/match regexp/;
16         $text =~ /match regexp/;
17

DESCRIPTION

19       A "PPI::Token::Regexp::Match" object represents a single match regular
20       expression. Just to be doubly clear, here are things that are and
21       aren't considered a match regexp.
22
23         # Is a match regexp
24         /This is a match regexp/;
25         m/Old McDonald had a farm/eieio;
26
27         # These are NOT match regexp
28         qr/This is a regexp quote-like operator/;
29         s/This is a/replace regexp/;
30

METHODS

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

SUPPORT

37       See the support section in the main module.
38

AUTHOR

40       Adam Kennedy <adamk@cpan.org>
41
43       Copyright 2001 - 2011 Adam Kennedy.
44
45       This program is free software; you can redistribute it and/or modify it
46       under the same terms as Perl itself.
47
48       The full text of the license can be found in the LICENSE file included
49       with this module.
50
51
52
53perl v5.32.1                      2021-01-27      PPI::Token::Regexp::Match(3)
Impressum