Pattern matching functions
These functions handle pattern matching which is required to to process XML schema pattern constraints. More...
Functions | |
EXTERNRT OSBOOL | rtxMatchPattern (OSCTXT *pctxt, const OSUTF8CHAR *text, const OSUTF8CHAR *pattern) |
This function compares the given string to the given pattern. |
Detailed Description
These functions handle pattern matching which is required to to process XML schema pattern constraints.
Function Documentation
EXTERNRT OSBOOL rtxMatchPattern | ( | OSCTXT * | pctxt, | |
const OSUTF8CHAR * | text, | |||
const OSUTF8CHAR * | pattern | |||
) |
This function compares the given string to the given pattern.
It returns true if match, false otherwise.
- Parameters:
-
pctxt Pointer to context structure. text Text to be matched. pattern Regular expression.
- Returns:
- Boolean result.