Gene Sullivan > YAPE-Regex-4.00 > YAPE::Regex::Element

Download:
YAPE-Regex-4.00.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  1
View/Report Bugs
Module Version: 4.00   Source  

NAME ^

YAPE::Regex::Element - sub-classes for YAPE::Regex elements

VERSION ^

This document refers to YAPE::Regex::Element version 4.00.

SYNOPSIS ^

  use YAPE::Regex 'MyExt::Mod';
  # this sets up inheritence in MyExt::Mod
  # see YAPE::Regex documentation

YAPE MODULES ^

The YAPE hierarchy of modules is an attempt at a unified means of parsing and extracting content. It attempts to maintain a generic interface, to promote simplicity and reusability. The API is powerful, yet simple. The modules do tokenization (which can be intercepted) and build trees, so that extraction of specific nodes is doable.

DESCRIPTION ^

This module provides the classes for the YAPE::Regex objects. The base class for these objects is YAPE::Regex::Element. The objects classes are numerous.

Methods for YAPE::Regex::Element

This class contains fallback methods for the other classes.

Methods for YAPE::Regex::anchor

This class represents anchors. Objects have the following methods:

Methods for YAPE::Regex::macro

This class represents character-class macros. Objects have the following methods:

Methods for YAPE::Regex::oct

This class represents octal escapes. Objects have the following methods:

Methods for YAPE::Regex::hex

This class represents hexadecimal escapes. Objects have the following methods:

Methods for YAPE::Regex::utf8hex

This class represents UTF hexadecimal escapes. Objects have the following methods:

Methods for YAPE::Regex::backref

This class represents back-references. Objects have the following methods:

Methods for YAPE::Regex::ctrl

This class represents control character escapes. Objects have the following methods:

Methods for YAPE::Regex::named

This class represents named characters. Objects have the following methods:

Methods for YAPE::Regex::Cchar

This class represents C characters. Objects have the following methods:

Methods for YAPE::Regex::slash

This class represents any other escaped characters. Objects have the following methods:

Methods for YAPE::Regex::any

This class represents the dot metacharacter. Objects have the following methods:

Methods for YAPE::Regex::class

This class represents character classes. Objects have the following methods:

Methods for YAPE::Regex::hex

This class represents hexadecimal escapes. Objects have the following methods:

Methods for YAPE::Regex::alt

This class represents alternation. Objects have the following methods:

Methods for YAPE::Regex::comment

This class represents in-line comments. Objects have the following methods:

Methods for YAPE::Regex::whitespace

This class represents whitespace under the /x regex modifier. Objects have the following methods:

Methods for YAPE::Regex::flags

This class represents (?ismx) flags. Objects have the following methods:

Methods for YAPE::Regex::cut

This class represents the cut assertion. Objects have the following methods:

Methods for YAPE::Regex::lookahead

This class represents lookaheads. Objects have the following methods:

Methods for YAPE::Regex::lookbehind

This class represents lookbehinds. Objects have the following methods:

Methods for YAPE::Regex::conditional

This class represents conditionals. Objects have the following methods:

Methods for YAPE::Regex::group

This class represents non-capturing groups. Objects have the following methods:

Methods for YAPE::Regex::capture

This class represents capturing groups. Objects have the following methods:

Methods for YAPE::Regex::code

This class represents code blocks. Objects have the following methods:

Methods for YAPE::Regex::later

This class represents closed parentheses. Objects have the following methods:

Methods for YAPE::Regex::close

This class represents closed parentheses. Objects have the following methods:

TO DO ^

This is a listing of things to add to future versions of this module.

BUGS ^

Following is a list of known or reported bugs.

SUPPORT ^

Visit YAPE's web site at http://www.pobox.com/~japhy/YAPE/.

SEE ALSO ^

The YAPE::Regex documentation, for information on the main class.

AUTHOR ^

The original author is Jeff "japhy" Pinyan (CPAN ID: PINYAN).

Gene Sullivan (gsullivan@cpan.org) is a co-maintainer.

LICENSE ^

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

syntax highlighting: