logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Thomas R. Wyant, III wyantatcpandotorg

Description

       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.

Inheritance

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

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

Methods

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

Name

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

Support

       Support is by the author. Please file bug reports at
       <https://rt.cpan.org/Public/Dist/Display.html?Name=PPIx-Regexp>,
       <https://github.com/trwyant/perl-PPIx-Regexp/issues>, or in electronic mail to the author.

Synopsis

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

See Also