Enable or disable case-sensitive searches.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_approx_regex_is_case_sensitive_set( const HIG_REC_APPROX_REGEX higRecApproxRegex, const AT_BOOL isEnabled ); |
Arguments:
higRecApproxRegex | The handle to an approximate regex instance. |
isEnabled | The new toggle value. |
Return Value:
The number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.Supported Raster Image Formats:
This function does not process image pixels.
Remarks:
When enabled, case-sensitivity is ignored when seeking pattern matches.
The default value is TRUE.
Example:
Copy Code | |
---|---|
AT_ERRCOUNT errCount = 0 ; HIG_REC_APPROX_REGEX higRecApproxRegex = 0 ; IG_REC_approx_regex_create( &higRecApproxRegex ) ; errCount = IG_REC_approx_regex_is_case_sensitive_set ( higRecApproxRegex, TRUE ) ; IG_REC_approx_regex_delete( higRecApproxRegex ) ; |