Le vendredi 13 mai 2016 à 00:52 -0700, Андрей Логунов a écrit :
> Match package raises a deprecation warning regarding String.
> Upon inspection the problem is in the following passage in
> matchmacro.jl
>
> # Regex strings (r"[a-z]*")
> elseif isexpr(expr, :macrocall) && expr.args[1] ==
> symbol("@r_str")
> append!(info.tests, [:(isa($val, String)),
> :(Match.ismatch($expr, $val))])
> info
>
> Replacing String with AbstractString here with the following
> Pkg.build("Match") seem to solve the problem.
Good catch. Please make a pull request against Match.jl on GitHub.
Though you'll have to use the Compat package to keep supporting Julia
0.3 (or drop support for that release if the maintainer agrees).
Regards
> B.R.,
> Win10 and JL 0.4.5 user