Detect user-provided format mismatch on sub-match extraction