Skip to content

Commit

Permalink
regex keys displayed are strings (since that is how we get them from …
Browse files Browse the repository at this point in the history
…PCRE)
  • Loading branch information
oxinabox authored Nov 13, 2020
1 parent c0e43af commit f418795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/regex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
@test !haskey(m, "foo")
@test (m[:a], m[2], m["b"]) == ("x", "y", "z")
@test sprint(show, m) == "RegexMatch(\"xyz\", a=\"x\", 2=\"y\", b=\"z\")"
@test keys(m) == [:a, 2, :b]
@test keys(m) == ["a", 2, "b"]
end

# Backcapture reference in substitution string
Expand Down

0 comments on commit f418795

Please sign in to comment.