1PPIx::Regexp::Token::DeUlsiemritCeorn(t3r)ibuted Perl DoPcPuImxe:n:tRaetgieoxnp::Token::Delimiter(3)
2
3
4

NAME

6       PPIx::Regexp::Token::Delimiter - Represent the delimiters of the
7       regular expression
8

SYNOPSIS

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

INHERITANCE

15       "PPIx::Regexp::Token::Delimiter" is a PPIx::Regexp::Token::Structure.
16
17       "PPIx::Regexp::Token::Delimiter" has no descendants.
18

DESCRIPTION

20       This token represents the delimiters of the regular expression. Since
21       the tokenizer has to figure out where these are anyway, this class is
22       used to give the lexer a hint about what is going on.
23

METHODS

25       This class provides no public methods beyond those provided by its
26       superclass.
27
28   perl_version_introduced
29       Experimentation with weird delimiters shows that they did not actually
30       work until Perl 5.8.3, so we return '5.008003' for such delimiters.
31
32   perl_version_removed
33       Perl 5.29.0 made fatal the use of non-standalone graphemes as regular
34       expression delimiters. Because non-characters and permanently
35       unassigned code points are still allowed per perldeprecation, I take
36       this to mean characters that match "/\p{Mark}/" (i.e. combining
37       diacritical marks).  But this regular expression does not compile under
38       Perl 5.6.
39
40       So:
41
42       This method returns '5.029' for such delimiters provided the requisite
43       regular expression compiles. Otherwise it return "undef".
44

SUPPORT

46       Support is by the author. Please file bug reports at
47       <https://rt.cpan.org>, or in electronic mail to the author.
48

AUTHOR

50       Thomas R. Wyant, III wyant at cpan dot org
51
53       Copyright (C) 2009-2020 by Thomas R. Wyant, III
54
55       This program is free software; you can redistribute it and/or modify it
56       under the same terms as Perl 5.10.0. For more details, see the full
57       text of the licenses in the directory LICENSES.
58
59       This program is distributed in the hope that it will be useful, but
60       without any warranty; without even the implied warranty of
61       merchantability or fitness for a particular purpose.
62
63
64
65perl v5.32.0                      2020-07-29 PPIx::Regexp::Token::Delimiter(3)
Impressum