forked from mjanicek/rembulan
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Magic chars in StringPattern character groups behaving incorrectly #4
Labels
Comments
While making further tests on https://www.lua.org/cgi-bin/demo it seems even '-' does not need to be escaped if it forms no character range |
Confirmed - this looks like a bug. Here is a simplified reproducer that produces the same error:
|
Duplicate of mjanicek#17. |
maybe i should start by looking in the original repo, thx for the info |
jupjohn
added a commit
to Lukkit/rembulan
that referenced
this issue
May 22, 2020
Add unit test for wizards-of-lua#4 - Magic chars in StringPattern character groups behaving incorrectly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is giving a
when it should execute successfully and handle the + char as it is in the character group.
See https://www.lua.org/manual/5.3/manual.html#6.4.1 in the section '[set]' where it is stated that
The text was updated successfully, but these errors were encountered: