1PPIx::Regexp::Token::AsUsseerrtiCoonn(t3r)ibuted Perl DoPcPuImxe:n:tRaetgieoxnp::Token::Assertion(3)
2
3
4
6 PPIx::Regexp::Token::Assertion - Represent a simple assertion.
7
9 use PPIx::Regexp::Dumper;
10 PPIx::Regexp::Dumper->new( 'qr{\bfoo\b}smx' )
11 ->print();
12
14 "PPIx::Regexp::Token::Assertion" is a PPIx::Regexp::Token.
15
16 "PPIx::Regexp::Token::Assertion" has no descendants.
17
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
31 This class provides no public methods beyond those provided by its
32 superclass.
33
35 Support is by the author. Please file bug reports at
36 <http://rt.cpan.org>, or in electronic mail to the author.
37
39 Thomas R. Wyant, III wyant at cpan dot org
40
42 Copyright (C) 2009-2018 by Thomas R. Wyant, III
43
44 This program is free software; you can redistribute it and/or modify it
45 under the same terms as Perl 5.10.0. For more details, see the full
46 text of the licenses in the directory LICENSES.
47
48 This program is distributed in the hope that it will be useful, but
49 without any warranty; without even the implied warranty of
50 merchantability or fitness for a particular purpose.
51
52
53
54perl v5.28.0 2018-08-12 PPIx::Regexp::Token::Assertion(3)