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::RegexSet - Represent a regexp character set

Author

       Thomas R. Wyant, III wyantatcpandotorg

Description

       This class represents a regex character set.

       These were introduced in Perl 5.17.8, and documented as experimental and subject to change. If changes
       introduced in Perl result in changes in the way "PPIx::Regexp" parses the regular expression,
       "PPIx::Regexp" will track the change, even if they are incompatible with the previous parse. If this
       functionality is retracted and the syntax used for something else, "PPIx::Regexp" will forget completely
       about regex character sets.

       At some point, the documentation started calling these "Extended Bracketed Character Classes", and
       documenting them in perlrecharclass.

Inheritance

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

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

Methods

       This class supports no public methods over and above those supported by the superclasses.

Name

       PPIx::Regexp::Structure::RegexSet - Represent a regexp character set

Restriction

       When running under Perl 5.6, the extended white space characters are not recognized as white space.

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{(?[ \w - [fox] ])}smx' )
            ->print();

See Also