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
36       Got any ideas for methods? Submit a report to rt.cpan.org!
37

SUPPORT

39       See the support section in the main module.
40

AUTHOR

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