fix issue 12582 Non-existant named capture groups cause runtime range violation or segmentation fault in regex
Merge pull request #2106 from DmitryOlshansky/issue-12582

fix issue 12582 Non-existant named capture groups cause runtime range vi...