Skip to content

Commit

Permalink
fix indent of docstrings (#40023)
Browse files Browse the repository at this point in the history
  • Loading branch information
bicycle1885 authored Mar 15, 2021
1 parent accce7f commit b20de6a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions base/regex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const DEFAULT_COMPILER_OPTS = PCRE.UTF | PCRE.MATCH_INVALID_UTF | PCRE.ALT_BSUX
const DEFAULT_MATCH_OPTS = PCRE.NO_UTF_CHECK

"""
An abstract type representing any sort of pattern matching expression (typically a regular
expression).
`AbstractPattern` objects can be used to match strings with [`match`](@ref).
An abstract type representing any sort of pattern matching expression
(typically a regular expression). `AbstractPattern` objects can be used to
match strings with [`match`](@ref).
"""
abstract type AbstractPattern end

Expand Down Expand Up @@ -140,8 +140,8 @@ function show(io::IO, re::Regex)
end

"""
`AbstractMatch` objects are used to represent information about matches found in a string
using an `AbstractPattern`.
`AbstractMatch` objects are used to represent information about matches found
in a string using an `AbstractPattern`.
"""
abstract type AbstractMatch end

Expand Down

0 comments on commit b20de6a

Please sign in to comment.