| PPIx-Regexp documentation | Contained in the PPIx-Regexp distribution. |
PPIx::Regexp::Token::CharClass::POSIX::Unknown - Represent an unknown or unsupported POSIX character class
use PPIx::Regexp::Dumper;
PPIx::Regexp::Dumper->new( 'qr{ [[=a=]] }smx' )
-print()
PPIx::Regexp::Token::CharClass::POSIX::Unknown is a
PPIx::Regexp::Token::CharClass::POSIX.
This class represents POSIX character classes which are recognized but
not supported by Perl. At the moment this means [=a=] (equivalence
classes), and [.ch.] (collating symbols).
Caveat: If any of these becomes supported by Perl in the future, they
will become represented as
PPIx::Regexp::Token::CharClass::POSIX
objects, with an appropriate perl_version_introduced() value.
This class provides no public methods beyond those provided by its superclass.
Support is by the author. Please file bug reports at http://rt.cpan.org, or in electronic mail to the author.
Thomas R. Wyant, III wyant at cpan dot org
Copyright (C) 2010-2011 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.
| PPIx-Regexp documentation | Contained in the PPIx-Regexp distribution. |
package PPIx::Regexp::Token::CharClass::POSIX::Unknown; use 5.006; use strict; use warnings; use base qw{ PPIx::Regexp::Token::CharClass::POSIX }; use PPIx::Regexp::Constant qw{ MINIMUM_PERL }; our $VERSION = '0.020'; sub perl_version_introduced { # my ( $self ) = @_; return MINIMUM_PERL; } # Note that these guys are recognized by PPIx::Regexp::CharClass::POSIX, # and if one of them becomes supported that is where the change needs to # be made. # This is the handiest way to make this object represent a parse error. sub __PPIX_LEXER__finalize { return 1; } 1; __END__
# ex: set textwidth=72 :