RegExpSetMatchLimit

Sets the value of the matchLimit parameter.

Syntax

IppStatus ippsRegExpSetMatchLimit(int matchLimit, IppRegExpState* pRegExpState);

Parameters

matchLimit

Value of the of the matches kept in stack.

pRegExpState

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

Description

The function ippsRegExpSetMatchLimit is declared in the ippch.h file. 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.

Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.