Andrew Gallant a89220dd71
regex-syntax: fix nest limit checker
This commit fixes an embarrassing bug where the depth in the nest limit
checker was never decremented during postorder traversal, which means
long but shallow regexes would incorrectly trip the nest limit. We fix
that in this commit and add two regression tests.

Fixes #454
2018-03-09 22:45:55 -05:00
..
2018-03-09 22:45:55 -05:00