Error Messages/40862
Error Message Examples
Bad value (-2) passed to the <<subPattern>> parameter of FindInText. Must be non-negative.
Cause
The subPattern parameter to the FindInText function, while searching for regular expression, must either be the subpattern name or the subpattern number. You have passed in a negative value to the subPattern parameter which is not allowed.
Defining a subpattern: You can define a subpattern by placing the subpattern inside parenthesis.
Naming a subpattern: You can name a subpattern by following the opening parenthesis by a question mark and then the name between two angle brackets.
You can also get back an array of a subset of above return types. The following is an example taken from the User Guide:
FindInText('d.*T', 'FindInText', re:1,return:['L','S'])
Returns: [4,'dInT']
Remedies
Correct the return parameter to the FindInText function to a recognized value.
Enable comment auto-refresher