Edinburgh Speech Tools  2.1-release
EST_Regex.cc File Reference
#include "EST_unix.h"
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include "EST_String.h"
#include "EST_Regex.h"
#include "regexp.h"
Include dependency graph for EST_Regex.cc:

Go to the source code of this file.

Functions

ostream & operator<< (ostream &s, const EST_Regex &str)
 

Variables

EST_Regex RXwhite ("[ \n\t\r]+")
 White space. More...
 
EST_Regex RXalpha ("[A-Za-z]+")
 Sequence of alphabetic characters. More...
 
EST_Regex RXlowercase ("[a-z]+")
 Sequence of lower case alphabetic characters. More...
 
EST_Regex RXuppercase ("[A-Z]+")
 Sequence of upper case alphabetic characters. More...
 
EST_Regex RXalphanum ("[0-9A-Za-z]+")
 Sequence of letters and/or digits. More...
 
EST_Regex RXidentifier ("[A-Za-z_][0-9A-Za-z_]+")
 Initial letter or underscore followed by letters underscores or digits. More...
 
EST_Regex RXint ("-?[0-9]+")
 Integer. More...
 
EST_Regex RXdouble ("-?\\(\\([0-9]+\\.[0-9]*\\)\\|\\([0-9]+\\)\\|\\(\\.[0-9]+\\)\\)\\([eE][---+]?[0-9]+\\)?")
 Floating point number. More...
 

Function Documentation

ostream& operator<< ( ostream &  s,
const EST_Regex str 
)

Definition at line 332 of file EST_Regex.cc.

Variable Documentation

EST_Regex RXwhite("[ \n\t\r]+")

White space.

EST_Regex RXalpha("[A-Za-z]+")

Sequence of alphabetic characters.

EST_Regex RXlowercase("[a-z]+")

Sequence of lower case alphabetic characters.

EST_Regex RXuppercase("[A-Z]+")

Sequence of upper case alphabetic characters.

EST_Regex RXalphanum("[0-9A-Za-z]+")

Sequence of letters and/or digits.

EST_Regex RXidentifier("[A-Za-z_][0-9A-Za-z_]+")

Initial letter or underscore followed by letters underscores or digits.

EST_Regex RXint("-?[0-9]+")

Integer.

EST_Regex RXdouble("-?\\(\\([0-9]+\\.[0-9]*\\)\\|\\([0-9]+\\)\\|\\(\\.[0-9]+\\)\\)\\([eE][---+]?[0-9]+\\)?")

Floating point number.