JuliaServices / Match.jl

Advanced Pattern Matching for Julia
https://juliaservices.github.io/Match.jl/latest/
Other
240 stars 22 forks source link

RFC: Remove eval, regex capture; update for v0.4 (fixes #12, fixes #14) #17

Closed kmsquire closed 9 years ago

kmsquire commented 9 years ago

eval should almost never be used in macros. Here, it caused #12 and #14.

Unfortunately, it was the basis for the match macro implementation of regex captures. They could be reimplemented, but it would be somewhat of a pain using the same syntax, so for now, they're gone. If someone really needs it, let me know, and we might be able to find a workaround.

Also updated to work again on v0.4.