L_Regex_Matches (original) (raw)
Summary
Tests the regular expression pattern against the given input and returns matches if any.
Syntax
#include "l_bitmap.h"
L_LTREGEX_API L_INT L_Regex_Matches(regex, input, matches)
Parameters
L_Regex regex
Pointer reference to the L_Regex object that was initialized by calling L_Regex_Create.
const L_WCHAR *input
A character string to use for testing the regular expression.
L_RegexMatches *matches
Contains the results (matches) allocated if the pattern matched the input.
Returns
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Comments
Call L_Regex_Destroy when done to free all resources (including these matches).
Required DLLs and Libraries
- LtRegex
- For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Platforms
Win32, x64.
See Also
Functions
LEADTOOLS Raster Imaging C API Help