Intel® Integrated Performance Primitives Developer Guide and Reference

ID 790148
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

RegExpSetMatchLimit

DEPRECATED. Sets the value of the matchLimit parameter.

Syntax

IppStatus ippsRegExpSetMatchLimit(int matchLimit, IppRegExpState* pRegExpState);

Include Files

ippch.h

Domain Dependencies

Headers: ippcore.h, ippvm.h, ipps.h

Libraries: ippcore.lib, ippvm.lib, ipps.lib

Parameters

matchLimit

Value of the of the matches kept in stack.

pRegExpState

Pointer to the structure containing internal form of a regular expression.

Description

NOTE:
This function is deprecated and will be removed in a future release. If you have concerns, open a ticket and provide feedback at https://supporttickets.intel.com/.

This function sets the value of the parameter matchLimit that specifies how many times the function ippsRegExpFind can be called through the single execution avoiding the possible stack overflow. The default value is set very large, so you should set this parameter to the reasonable value in accordance with your needs.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if the pRegExpState pointer is NULL.