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

simplify_alloc doesn't support nested clases #67

Closed
chrisseaton opened this issue Oct 21, 2022 · 1 comment
Closed

simplify_alloc doesn't support nested clases #67

chrisseaton opened this issue Oct 21, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@chrisseaton
Copy link
Contributor

(m = /^(\w+(?:\[\])?)\[([0-9,]+)\]$/.match(value)) || raise(value)

Doesn't match for example Foo$Bar.

Should it just be:

(m = /^([\w\$]+(?:\[\])?)\[([0-9,]+)\]$/.match(value)) || raise(value)

Also raising with a better error message would be better.

@eregon

@nirvdrum
Copy link
Contributor

Fixed by #73.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants