L_Regex_Matches

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

Platforms

Win32, x64.

See Also

Functions

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

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