Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_CDECL_BEGIN typedef UBool U_CALLCONV URegexMatchCallback ( const void *  context,
int32_t  steps 
)

Function pointer for a regular expression matching callback function. When set, a callback function will be called periodically during matching operations. If the call back function returns FALSE, the matching operation will be terminated early.

Note: the callback function must not call other functions on this URegularExpression.

Parameters:
context context pointer. The callback function will be invoked with the context specified at the time that uregex_setMatchCallback() is called.
steps the accumulated processing time, in match steps, for this matching operation.
Returns:
TRUE to continue the matching operation. FALSE to terminate the matching operation. ICU 4.0


Generated by  Doxygen 1.6.0   Back to index