Fork me on GitHub
#instaparse
<
2020-07-15
>
mrchance22:07:26

Hi! If instaparse parses a string in Clojure but fails to do the same in cljs with an identical grammar, what's a good place to start debugging?

aengelberg22:07:23

instaparse defers to the host language when it comes to regex syntax, so if you have a #"…" in your grammar that might be a good place to start

mrchance22:07:02

Aha! I do, will check that, thanks

mrchance22:07:00

Got it, it was Javas [^]+] vs. JS' [^\]+] , thanks again 🙂 Writing the parser was a breeze btw!

👏 3
aengelberg22:07:22

nice! cool to hear that, thx