fix Issue 11671 - ctRegex broken
Merge pull request #1745 from 9rnsr/fix11671

Issue 11671 - ctRegex broken