In file ../include/EST_Regex.h:
class EST_Regex |
A Regular expression class to go with the CSTR EST_String class.
![]() | EST_Regex (void) Empty constructor, just for form | ||||||
![]() | EST_Regex (EST_String s) Construct from EST_String | ||||||
![]() | EST_Regex (const char* ex) Construct from C string | ||||||
![]() | EST_Regex (const EST_Regex &ex) Copy constructor | ||||||
![]() | ~EST_Regex () Destructor | ||||||
![]() | size () const Size of the expression | ||||||
![]() | run (const char* on, int from, int &start, int &end, int* starts=NULL, int* ends=NULL) Run to find a matching substring | ||||||
![]() | run_match (const char* on, int from=0, int* starts=NULL, int* ends=NULL) Run to see if it matches the entire string | ||||||
![]() | tostring (void) const Get the expression as a string | ||||||
![]() | operator const char * () const Cast operator, disambiguates it for some compilers | ||||||
![]() | Assignment
|
Split a string into parts.
Before
At
After
Search for something
Get position of something
Does string contain something?
Does string exactly match?
Global replacement
Frequency counts
Quoting
Operators
String comparison.
A Regular expression class to go with the CSTR EST_String class.The regular expression syntax is the FSF syntax used in emacs and in the FSF String library. This is translated into the syntax supported by Henry Spensor's regular expression library, this translation is a place to look if you find regular expressions not matching where expected.
Alphabetic index HTML hierarchy of classes or Java
This page is part of the
Edinburgh Speech Tools Library documentation
Copyright University of Edinburgh 1997
Contact:
speech_tools@cstr.ed.ac.uk