Skip to content
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

Lisp language crashes browser #1762

Closed
simonlast opened this issue Feb 25, 2019 · 1 comment · Fixed by #1763
Closed

Lisp language crashes browser #1762

simonlast opened this issue Feb 25, 2019 · 1 comment · Fixed by #1763

Comments

@simonlast
Copy link

Input string:

? print sum 10 difference 7 3
14
? print "sum
sum
? print [hello world]
hello world
? show [hello world]
[hello world]
? show sentence 1 [1 2]
[1 1 2]
? show list [1 2 3] 4
[[1 2 3] 4]
? print first [1 2 3]
1
? print butfirst [1 2 3]
2 3
? run [print sum 1 2]
3

Crashes on regex: /"(?:[^"\\]*|\\.)*"/g

@RunDevelopment
Copy link
Member

Thanks for reporting!

mAAdhaTTah pushed a commit that referenced this issue Feb 26, 2019
This PR fixes #1762 by fixing the `string` pattern which sometimes fails in exponential time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants