Merge pull request #1464 from blackwhale/ctr-enable-test

Enable ctRegex tests, fix 3 latent bugs
Introduce lookahead for ctRegex
safety of nested lookahead, enable all of R-T tests