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::Token::Backtrack - Represent backtrack control.

Author

       Thomas R. Wyant, III wyantatcpandotorg

Description

       This class represents one of the backtrack controls.

Inheritance

       "PPIx::Regexp::Token::Backtrack" is a PPIx::Regexp::Token.

       "PPIx::Regexp::Token::Backtrack" has no descendants.

Methods

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

   arg
       This method returns the backtrack control argument specified by the element. This is the text after the
       first colon (':'), or the empty string ('') if none was specified.

   verb
       This method returns the backtrack control verb represented by the element. This is the text up to but not
       including the first colon (':') if any. If the element specifies '' or "'F"", this method will return
       'MARK' or 'FAIL', respectively.

Name

       PPIx::Regexp::Token::Backtrack - Represent backtrack control.

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{(*ACCEPT)}smx' )
            ->print();

See Also