Verify that the pattern used in a regex_capture contains exactly one subexpression.