Home | Modules | Class Hierarchy | Alphabetical List | Compound List | Related Pages

CRegExp Class Reference
[Regular Expressions]


Detailed Description

Regular Expression compiler and matcher.

Colorer regular expressions library cregexp.

1. Features.
1.1. Colorer Unicode classes.
1.2. Extensions.
1.3. Perl compatibility.
2. Dislikes:
2.1. According to Unicode RE level 1 support:
2.2. Algorithmic problems:


Public Methods

 CRegExp ()
 Empty constructor.

 CRegExp (const String *text)
 Constructs regular expression and compile it with text pattern.

bool isOk ()
 Is RE well-compiled.

EError getError ()
 Returns information about RE compilation error.

bool setPositionMoves (bool moves)
 Tells RE parser, that it must make moves on tested string while RE matching.

int getBracketNo (const String *brname)
 Returns count of named brackets.

StringgetBracketName (int no)
 Returns named bracked name by it's index.

bool setBackRE (CRegExp *bkre)
bool setBackTrace (const String *str, SMatches *trace)
bool getBackTrace (const String **str, SMatches **trace)
bool setRE (const String *re)
 Compiles specified regular expression.

bool parse (const String *str, SMatches *mtch)
bool parse (const String *str, int pos, int eol, SMatches *mtch, int soscheme=0, int moves=-1)


Colorer-take5 Library. Copyright © 1999-2003 Cail Lomecb.
Generated at Fri Sep 12 18:54:55 2003 by doxygen 1.3-rc2.