When using a numerical reference to a subexpression within the regular expression, the number used exceeded the number of subexpressions present.
Ensure that numerical references to subexpressions are valid.