jeroenr / gnip-rule-validator

A parser to validate Gnip rule syntax
MIT License
5 stars 2 forks source link

Deeply unclosed groups lead to stackoverflow #13

Closed jeroenr closed 8 years ago

jeroenr commented 8 years ago

Take this test for instance:

GnipRuleValidator("(ab ( cd ( ef( gh ( ij ((hello (world) bla) lol) hehe))) xz)", "twitter").failure

It's not able to finish this test

jeroenr commented 8 years ago

Turns out to be a bug in fastparse

jeroenr commented 8 years ago

Fixed by https://github.com/jeroenr/gnip-rule-validator/pull/14