<<< Regular expression pattern map     Table Of Contents     Lexeme symbol() >>>

Common Text Transformation Library http://cttl.sourceforge.net/

Lexemes


  1. Lexeme functions and arguments

C++ argument type symbol entity begin end first
none
(1)
Single character

(0+)anchor
Parseable substring

(Ø)anchor
Beginning of input

(Ø)
Ending of input
 
bool true

 

(Ø)anchor
Always succeeds
excluding empty input
 
(Ø)anchor
Always succeeds
   
bool false

 

Always fails
 
Always fails
   
set<string>

set<wstring>

 
   
(Ø)anchor(unsearchable)
Set of strings assertion
   
int

char

wchar_t



(1)
Single character



(1)
Single character



(Ø)
Character
upper bound



(Ø)
Character
lower bound
 
char*

wchar_t*


std::string&

std::wstring&


std::string*

std::wstring*



(0+)
Exact text



(0+)
User-defined
character class



(Ø)
Upper bound of
user-defined
character class



(Ø)
Lower bound of
user-defined
character class



(1)
First char of
user-defined
character class
int(*pf)(int)

int(*pf)(wint_t)
 

(1+)
Character class


(Ø)
Character class
upper bound


(Ø)
Character class
lower bound


(1)
First char of
character class
ANSI C character classification routines:
isalnum,  iswalnum......alphanumeric characters 
isalpha,  iswalpha......alphabetic characters 
iscntrl,  iswcntrl......control characters 
isdigit,  iswdigit......decimal digits 
isgraph,  iswgraph......printable other than space 
islower,  iswlower......lowercase characters 
isprint,  iswprint......printable characters 
ispunct,  iswpunct......punctuation characters 
isspace,  iswspace......white-space characters 
isupper,  iswupper......uppercase characters 
isxdigit, iswxdigit.....hexadecimal digits

Copyright © 1997-2009 Igor Kholodov mailto:cttl@users.sourceforge.net.

Permission to copy and distribute this document is granted provided this copyright notice appears in all copies. This document is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.


 

 

<<< Regular expression pattern map     Table Of Contents     Lexeme symbol() >>>