| Symbol | Description |
|---|---|
| Regex | Regular expression objects are used to match or decompose strings based on patterns. |
| Symbol | Description |
|---|---|
| RegexError | Regex expression error codes. |
| Symbol | Description |
|---|---|
| PCRE_ANCHORED | Force pattern anchoring. |
| PCRE_CASELESS | Ignore Case |
| PCRE_DOLLAR_ENDONLY | $ not to match newline at end. |
| PCRE_DOTALL | Single line (affects . so that it matches any character, even new line characters). |
| PCRE_EXTENDED | Pattern extension (ignore whitespace and # comments). |
| PCRE_MULTILINE | Multilines (affects ^ and $ so that they match the start/end of a line rather than matching the start/end of the string). |
| PCRE_NO_UTF8_CHECK | Do not check the pattern for UTF-8 validity (only relevant if PCRE_UTF8 is set) |
| PCRE_NOTEMPTY | An empty string is not a valid match. |
| PCRE_UCP | Use Unicode properties for \ed, \ew, etc. |
| PCRE_UNGREEDY | Invert greediness of quantifiers |
| PCRE_UTF8 | Use UTF-8 Chars |
| Symbol | Description |
|---|---|
| CompileRegex | Precompile a regular expression. Use this if you intend on using the same expression multiple times. Pass the regex handle returned here to MatchRegex to check for matches. |
| GetRegexSubString | Returns a matched substring from a regex handle. Substring ids start at 0 and end at captures-1, where captures is the number returned by MatchRegex. |
| MatchRegex | Matches a string against a pre-compiled regular expression pattern. |
| SimpleRegexMatch | Matches a string against a regular expression pattern. |