-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doubleQuotedString
hits recursion limit on longer strings
#41
Comments
Hey @excursus! Thanks for the issue! Could you provide and example of a string on which the |
Sure! I think the any string that is long enough will do it, although I imagine that "long enough" is runtime specific. For instance this will do it:
where it throws |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the
string.doubleQuotedString
parser on long-ish strings causes it to hit the recursion limit. I tried getting around this by writing a regex to match such a string, but since streams of strings are arrays of characters, there is no way to match that regex to a string longer than a single character.Is there some official workaround for this? Thanks!
The text was updated successfully, but these errors were encountered: