Revert "Fix typo with regex_match_to_long"
Revert "Fix typo with regex_match_to_long"

This reverts commit 41c566b4839c7227f4edfa816f4324dc356f8bc7.

The original function was correct: regex_match_to_long converts a
match to a long; it does not generate an error for "too long".

jmmv/kyua,rodrigc/kyua,jmmv/kyua,rodrigc/kyua,rodrigc/kyua,rodrigc/kyua,jmmv/kyua,jmmv/kyua