SF Area/Download
Docs:
User
Internal/Devel
Support This Project
SourceForge.net Logo

csregex.cpp File Reference

Regular Expressions Implementation. More...

#include <ctype.h>
#include <string.h>
#include "csregex.h"

Go to the source code of this file.

Defines

#define _tcslen   strlen
#define _tcscpy   strcpy
#define _totlower   tolower
#define _istdigit   isdigit
#define _T(a)   a
#define CSREGEX_OFSWIDTH   2
#define GetValue16(i)   static_cast<unsigned int>((*(reinterpret_cast<unsigned short*>(&buf[i])))-0x0100)
#define PUT_OFFSET(a, v)   *(reinterpret_cast<unsigned short*>(&buf[(a)])) = (v)+0x0100
#define CHECK_MATCH()

Variables

static char * CSRegExErrorStr []
 List of human readable error strings for compilation.


Detailed Description

Regular Expressions Implementation.

Definition in file csregex.cpp.


Variable Documentation

char* CSRegExErrorStr[] [static]
 

Initial value:

 { "OK." ,
   "Back references (round brackets) exceed maximum of 9." ,
   "Missing end round bracket." ,
   "Overlapping/redundant character specs." ,
   "Escape character cannot appear at end of string by itself." ,
   "Missing end square bracket." ,
   "Invalid hex characters in escape sequence." ,
   "Invalid repeat format." ,
   "Invalid repeat range." ,
   "Unbalanced round brackets." ,
   "Invalid range." ,
   "Invalid backreference." ,
   "Regular expression is too long." }
List of human readable error strings for compilation.

This is what gets used for CSRegEx::error_str

Definition at line 65 of file csregex.cpp.

Referenced by CSRegEx::Compile(), and CSRegEx::CSRegEx().


Docs for CSRegEx created on Tue Dec 11 14:36:53 2007 by Doxygen 1.4.3


Webmaster: Cléo Saulnier