Skip to content

Commit

Permalink
Enclose the code that was accidentally a link in "tt"
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta authored and hsbt committed Apr 22, 2021
1 parent e73f689 commit a747e48
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/uri/rfc2396_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def initialize(opts = {})
# See also URI::Parser.initialize_regexp.
attr_reader :regexp

# Returns a split URI against regexp[:ABS_URI].
# Returns a split URI against +regexp[:ABS_URI]+.
def split(uri)
case uri
when ''
Expand Down Expand Up @@ -257,8 +257,8 @@ def extract(str, schemes = nil)
end
end

# Returns Regexp that is default self.regexp[:ABS_URI_REF],
# unless +schemes+ is provided. Then it is a Regexp.union with self.pattern[:X_ABS_URI].
# Returns Regexp that is default +self.regexp[:ABS_URI_REF]+,
# unless +schemes+ is provided. Then it is a Regexp.union with +self.pattern[:X_ABS_URI]+.
def make_regexp(schemes = nil)
unless schemes
@regexp[:ABS_URI_REF]
Expand All @@ -277,7 +277,7 @@ def make_regexp(schemes = nil)
# +str+::
# String to make safe
# +unsafe+::
# Regexp to apply. Defaults to self.regexp[:UNSAFE]
# Regexp to apply. Defaults to +self.regexp[:UNSAFE]+
#
# == Description
#
Expand Down Expand Up @@ -309,7 +309,7 @@ def escape(str, unsafe = @regexp[:UNSAFE])
# +str+::
# String to remove escapes from
# +escaped+::
# Regexp to apply. Defaults to self.regexp[:ESCAPED]
# Regexp to apply. Defaults to +self.regexp[:ESCAPED]+
#
# == Description
#
Expand Down

0 comments on commit a747e48

Please sign in to comment.