Crazy Eddie's GUI System  0.8.4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
CEGUI::PCRERegexMatcher Class Reference
+ Inheritance diagram for CEGUI::PCRERegexMatcher:
+ Collaboration diagram for CEGUI::PCRERegexMatcher:

Public Member Functions

 PCRERegexMatcher ()
 Constructor.
 
 ~PCRERegexMatcher ()
 Destructor.
 
void setRegexString (const String &regex)
 Set the regex string that will be matched against.
 
const StringgetRegexString () const
 Return reference to current regex string set.
 
MatchState getMatchStateOfString (const String &str) const
 Return the MatchState result for the given String.
 
- Public Member Functions inherited from CEGUI::RegexMatcher
virtual ~RegexMatcher ()
 Destructor.
 

Additional Inherited Members

- Public Types inherited from CEGUI::RegexMatcher
enum  MatchState { MS_VALID, MS_INVALID, MS_PARTIAL }
 Enumeration of possible states when cosidering a regex match. More...
 

Detailed Description

/brief Implementation of RegexMatcher using PCRE.

Details about the pattern syntax used by PCRE can be found on unix-like systems by way of man pcrepattern (or online at http://www.pcre.org/pcre.txt (scroll / search "PCREPATTERN(3)"). Alternatively, see the perl regex documentation at http://perldoc.perl.org/perlre.html