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/Public/Dist/Display.html?Name=PPIx-Regexp>,
41       <https://github.com/trwyant/perl-PPIx-Regexp/issues>, or in electronic
42       mail to the author.
43

AUTHOR

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