1PPI::Token::Regexp(3) User Contributed Perl DocumentationPPI::Token::Regexp(3)
2
3
4

NAME

6       PPI::Token::Regexp - Regular expression abstract base class
7

INHERITANCE

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

DESCRIPTION

14       The "PPI::Token::Regexp" class is never instantiated, and simply
15       provides a common abstract base class for the three regular expression
16       classes. These being:
17
18       m// - PPI::Token::Regexp::Match
19       s/// - PPI::Token::Regexp::Substitute
20       tr/// - PPI::Token::Regexp::Transliterate
21
22       The names are hopefully obvious enough not to have to explain what each
23       class is. See their pages for more details.
24
25       To save some confusion, it's worth pointing out here that "qr//" is not
26       a regular expression (which PPI takes to mean something that will
27       actually examine or modify a string), but rather a quote-like operator
28       that acts as a constructor for compiled Regexp objects.
29

SUPPORT

31       See the support section in the main module.
32

AUTHOR

34       Adam Kennedy <adamk@cpan.org>
35
37       Copyright 2001 - 2009 Adam Kennedy.
38
39       This program is free software; you can redistribute it and/or modify it
40       under the same terms as Perl itself.
41
42       The full text of the license can be found in the LICENSE file included
43       with this module.
44
45
46
47perl v5.10.1                      2009-08-08             PPI::Token::Regexp(3)
Impressum