diff --git a/base/regex.jl b/base/regex.jl index 3ea60fd7ff4f2d..75e8dcc70e8216 100644 --- a/base/regex.jl +++ b/base/regex.jl @@ -75,7 +75,7 @@ after the ending quote, to change its behaviour: For example, this regex has all three flags enabled: -```julia-repl +```jldoctest julia> match(r"a+.*b+.*?d\$"ism, "Goodbye,\\nOh, angry,\\nBad world\\n") RegexMatch("angry,\\nBad world") ```