int __stdcall NDK_REGEX_MATCH | ( | LPCSTR | szLine, |
LPCSTR | szPattern, | ||
BOOL | ignoreCase, | ||
BOOL | partialOK, | ||
BOOL * | bMatch | ||
) |
Returns TRUE if the string matches the regular expression expressed.
- Returns
- status code of the operation
- Return values
-
NDK_SUCCESS Operation successful NDK_FAILED Operation unsuccessful. See Macros for full list.
- Remarks
-
- Currently, NxMatch supports regular expressions using PERL-syntax.
- If the pattern input is omitted or missing, NxMatch return a #VALUE! error.
- In the event the input pattern includes Caret ("^") and dollar -sign ("$"), the partial flag is ignored.
- Parameters
-
[in] szLine is the input string to match for. [in] szPattern is the regular expression (regex PERL-style) to match the input string with (e.g. ^Thi[sS].*$). [in] ignoreCase is a flag to instruct the function to ignore the letter-case in the string [in] partialOK is a flag/switch to indicate whether a substring or a partial match (search) is permitted or to only consider full-string match. [out] bMatch is the return value of the match. - Requirements
-
Header SFSDK.H Library SFSDK.LIB DLL SFSDK.DLL