The RegexFind command:
_text regexFind [_find, _index];
throws the error: "'index' elements provided, 'count' expected" when the index is out of bounds. For example:
"abc" regexFind ["d", 3];
throws Error 3 elements provided, 3 expected
It should fail silently and return [] instead.