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

NAME

6       PPIx::Regexp::Token::Assertion - Represent a simple assertion.
7

SYNOPSIS

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

INHERITANCE

14       "PPIx::Regexp::Token::Assertion" is a PPIx::Regexp::Token.
15
16       "PPIx::Regexp::Token::Assertion" has no descendants.
17

DESCRIPTION

19       This class represents one of the simple assertions; that is, those that
20       are not defined via parentheses. This includes the zero-width
21       assertions "^", "$", "\b", "\B", "\A", "\Z", "\z" and "\G", as well as:
22
23       ·   The "\z" assertion added in Perl 5.005,
24
25       ·   The "\K" assertion added in Perl 5.009005,
26
27       ·   The "\b{gcb}" assertion (and friends) added in Perl 5.021009.
28           Similar braced constructions (like "\b{foo}") are unknown tokens.
29

METHODS

31       This class provides no public methods beyond those provided by its
32       superclass.
33
34   is_matcher
35       This method returns a true value because an assertion actually matches
36       something.
37

SUPPORT

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

AUTHOR

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