1PPIx::Regexp::Support(3U)ser Contributed Perl DocumentatiPoPnIx::Regexp::Support(3)
2
3
4

NAME

6       PPIx::Regexp::Support - Basis for the PPIx::Regexp support classes
7

SYNOPSIS

9        use PPIx::Regexp::Dumper;
10        PPIx::Regexp::Dumper->new( 'qr{foo}smx' )
11            ->print();
12

INHERITANCE

14       "PPIx::Regexp::Support" is not descended from any other class.
15
16       "PPIx::Regexp::Support" is the parent of PPIx::Regexp::Dumper,
17       PPIx::Regexp::Lexer and PPIx::Regexp::Tokenizer.
18

DESCRIPTION

20       This abstract class provides methods for the "PPIx::Regexp" support
21       classes.
22

METHODS

24       This class provides the following public methods. Methods not
25       documented here are private, and unsupported in the sense that the
26       author reserves the right to change or remove them without notice.
27
28   close_bracket
29       This method takes as its argument a character. If this character is an
30       open bracket the corresponding close bracket is returned. Otherwise
31       "undef" is returned. Only the ASCII bracket characters are considered
32       brackets: (), {}, [], and <>.
33
34   decode
35       This method wraps the Encode::decode subroutine. If the object
36       specifies no encoding or encode_available() returns false, this method
37       simply returns its input string.
38
39   encode
40       This method wraps the Encode::encode subroutine. If the object
41       specifies no encoding or encode_available() returns false, this method
42       simply returns its input string.
43
44   encode_available
45       This method returns true if the Encode module is available, and false
46       otherwise. If it returns true, the Encode module has actually been
47       loaded.
48

SUPPORT

50       Support is by the author. Please file bug reports at
51       <https://rt.cpan.org/Public/Dist/Display.html?Name=PPIx-Regexp>,
52       <https://github.com/trwyant/perl-PPIx-Regexp/issues>, or in electronic
53       mail to the author.
54

AUTHOR

56       Thomas R. Wyant, III wyant at cpan dot org
57
59       Copyright (C) 2009-2023 by Thomas R. Wyant, III
60
61       This program is free software; you can redistribute it and/or modify it
62       under the same terms as Perl 5.10.0. For more details, see the full
63       text of the licenses in the directory LICENSES.
64
65       This program is distributed in the hope that it will be useful, but
66       without any warranty; without even the implied warranty of
67       merchantability or fitness for a particular purpose.
68
69
70
71perl v5.36.0                      2023-01-30          PPIx::Regexp::Support(3)
Impressum