I m using HTTP package version 0.7.1 in Julia 1.5.3 and I get this error when executing HTTP.get or HTTP.request methods
ERROR: type Regex has no field match_data
Stacktrace:
[1] getproperty(::Regex, ::Symbol) at .\Base.jl:33
[2] exec(::Regex, ::String, ::Int64) at C:\Users\abdou\.julia\packages\HTTP\YjRCz\src\parseutils.jl:4 (repeats 2 times)
[3] parse_uri_reference(::String; strict::Bool) at C:\Users\abdou\.julia\packages\HTTP\YjRCz\src\URIs.jl:126
[4] parse_uri_reference(::String) at C:\Users\abdou\.julia\packages\HTTP\YjRCz\src\URIs.jl:126
[5] HTTP.URIs.URI(::String) at C:\Users\abdou\.julia\packages\HTTP\YjRCz\src\URIs.jl:144
[6] request(::String, ::String, ::Array{Pair{SubString{String},SubString{String}},1}, ::Array{UInt8,1}; headers::Array{Pair{SubString{String},SubString
{String}},1}, body::Array{UI
nt8,1}, query::Nothing, kw::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at C:\Users\abdou.julia\packages\HTTP\YjRCz\src\HTTP.jl:312
[7] request(::String, ::String, ::Array{Pair{SubString{String},SubString{String}},1}, ::Array{UInt8,1}) at C:\Users\abdou.julia\packages\HTTP\YjRCz\src \HTTP.jl:312 (repeats 2 tim
es)
[8] get(::String; kw::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at C:\Users\abdou.julia\packages\HTTP\YjRCz\src\HTTP.jl:349
[9] get(::String) at C:\Users\abdou.julia\packages\HTTP\YjRCz\src\HTTP.jl:349
[10] top-level scope at REPL[30]:1
The code generating this error is in parseutils.jl file in HTTP source code. This code uses a field named match_data for a variable of type Regex but Regex type has no such field. Is there any way to fix that? Thanks for any reply