Scroll to navigation

PPIx::Regexp::Structure::Quantifier(3pm) User Contributed Perl Documentation PPIx::Regexp::Structure::Quantifier(3pm)


PPIx::Regexp::Structure::Quantifier - Represent curly bracket quantifiers


 use PPIx::Regexp::Dumper;
 PPIx::Regexp::Dumper->new( 'qr{fo{2,}}smx' )


"PPIx::Regexp::Structure::Quantifier" is a PPIx::Regexp::Structure.

"PPIx::Regexp::Structure::Quantifier" has no descendants.


This class represents curly bracket quantifiers such as "{3}", "{3,}" and "{3,5}". The contents are left as literals or interpolations.

Note that if they occur inside a variable-length look-behind, quantifiers with different low and high limits (such as '{1,3}' imply a minimum Perl version of 5.29.9. Quantifiers specifying more than 255 characters are regarded as parse errors and reblessed into the unknown structure.


This class provides no public methods beyond those provided by its superclass.


Support is by the author. Please file bug reports at <>, <>, or in electronic mail to the author.


Thomas R. Wyant, III wyant at cpan dot org


Copyright (C) 2009-2022 by Thomas R. Wyant, III

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.

2022-04-20 perl v5.34.0