VCF::Regex::Ascii Class Reference
Regex engine for Ascii text. More...
#include <RegExKit.h>
Inheritance diagram for VCF::Regex::Ascii:

Public Member Functions | |
| Ascii (const String &expression, const unsigned char *const first, const unsigned char *const last, const RegExKit::Syntax &syntax=RegExKit::sDefault) | |
| Standard constructor. | |
| Ascii (const String &expression, const String &source, const RegExKit::Syntax &syntax=RegExKit::sDefault) | |
| Alternate constructor using a String to denote the search range. | |
| void | setRangeAsString (const String &newExpression) |
| Sets the search range pointers to the beginning and end of a VCF::String object. | |
Protected Member Functions | |
| virtual int | init () |
| virtual unsigned int | characterWidth (const unsigned char *const location) const |
| virtual Match | createMatch (const OnigRegion *region, const ptrdiff_t pos) const |
| virtual String::size_type | countCharacters (const unsigned char *const start, const unsigned char *const end) const |
Detailed Description
Regex engine for Ascii text.After creating this object, always call compile() immediately.
- See also:
- Host
Constructor & Destructor Documentation
|
||||||||||||||||||||
|
Standard constructor. It is the user's responsibility to ensure that the data in the search range remains valid for the lifetime of the Ascii object.
|
|
||||||||||||||||
|
Alternate constructor using a String to denote the search range. It is the user's responsibility to ensure that the String object remains valid for the lifetime of the Ascii object.
|
Member Function Documentation
|
|
Implements VCF::Regex::Host. |
|
||||||||||||
|
Implements VCF::Regex::Host. |
|
||||||||||||
|
Implements VCF::Regex::Host. |
|
|
Implements VCF::Regex::Host. |
|
|
Sets the search range pointers to the beginning and end of a VCF::String object. This is implemented by classes derived from Host as the result depends on the character width and representation.
Implements VCF::Regex::Host. |
The documentation for this class was generated from the following file:
- vcf/RegExKit/RegExKit.h
