Skip to content

Commit

Permalink
update wrong example in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
rfourquet committed Apr 4, 2019
1 parent 2cd52f8 commit 01b8253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/regex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ meaning that the contained characters are devoid of any special meaning
# Examples
```jldoctest
julia> r"Hello|Good bye" * ' ' * "world"
r"(?:Hello|Good bye) world"
julia> match(r"Hello|Good bye" * ' ' * "world", "Hello world")
RegexMatch("Hello world")
julia> r = r"a|b" * "c|d"
r"(?:a|b)\\Qc|d\\E"
Expand Down

0 comments on commit 01b8253

Please sign in to comment.