Next: regexps ctors, Up: regexps [Contents][Index]
Opaque type for regular expression objects; it is meant to be used to declare pointers to objects. Instances of this type can be used for any number of matching operations and are safe for concurrent use by multiple threads.
Simple data structure used to reference a portion of another string. It has the following fields:
const char * dataPointer to the first byte in the referenced substring.
int lengthThe number of bytes in the referenced substring.
Opaque type for iterators over named capturing groups.
Enumeration type for error codes returned by cre2_error_code().
It contains the following symbols:
CRE2_NO_ERRORDefined as 0, represents a successful operation.
CRE2_ERROR_INTERNALUnexpected error.
CRE2_ERROR_BAD_ESCAPEBad escape sequence.
CRE2_ERROR_BAD_CHAR_CLASSBad character class.
CRE2_ERROR_BAD_CHAR_RANGEBad character class range.
CRE2_ERROR_MISSING_BRACKETMissing closing ].
CRE2_ERROR_MISSING_PARENMissing closing ).
CRE2_ERROR_TRAILING_BACKSLASHTrailing \ at end of regexp.
CRE2_ERROR_REPEAT_ARGUMENTRepeat argument missing, e.g. *.
CRE2_ERROR_REPEAT_SIZEBad repetition argument.
CRE2_ERROR_REPEAT_OPBad repetition operator.
CRE2_ERROR_BAD_PERL_OPBad Perl operator.
CRE2_ERROR_BAD_UTF8Invalid UTF-8 in regexp.
CRE2_ERROR_BAD_NAMED_CAPTUREBad named capture group.
CRE2_ERROR_PATTERN_TOO_LARGEPattern too large (compile failed).
Next: regexps ctors, Up: regexps [Contents][Index]
This document describes version 0.4.0-devel.2 of CRE2.