Regex withGroups Error Message Enhancement

Enhance error message of regex withGroups syntax to include actual group value.