L_Regex_Create

Summary

Creates an instance of L_Regex, and initializes it with the given pattern and options.

Syntax

#include "l_bitmap.h"

L_LTREGEX_API L_INT L_Regex_Create(regex, pattern, options, costOptions)

Parameters

L_Regex *regex

Pointer reference to the L_Regex object to create.

const L_WCHAR *pattern

Regular expression pattern to use and initialize.

L_RegexOptions options

Various flags for options on how to run the regular expression pattern.

const L_RegexCostOptions *costOptions

Various flags for options on how to approximate the regular expression pattern.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

Call L_Regex_Destroy later to destroy it properly.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

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

LEADTOOLS Raster Imaging C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.