L_Regex_Matches

#include "l_bitmap.h"

L_LTREGEX_API L_INT L_Regex_Matches(regex, input, matches)

Tests the regular expression pattern against the given input and returns matches if any.

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

Platforms

Win32, x64.

See Also

Functions

Help Version 22.0.2021.9.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.