dhowe / rita

Website, documentation and examples for RiTa
https://rednoise.org/rita
71 stars 9 forks source link

RiScript parser hangs on single choice with norepeat #157

Closed dhowe closed 3 years ago

dhowe commented 3 years ago

JS-only

An example:

res = RiTa.evaluate("$b $b.nr()", { '$$b': '(a (b | c | d) e).nr'});

dhowe commented 3 years ago

fixed in https://github.com/dhowe/ritajs/commit/22a3a9b605c286d875ee524626cebf4048df99ed