Support for the Ruby 2.4 series has ended. See here for reference.
PATTERN_RE = /^s*(#{START}.*?)>/um
s*(((([“‘]).*?”>5)|*)*?)(/)?>/um, true)
# File rexml/dtd/elementdecl.rb, line 12
def initialize match
@name = match[1]
@rest = match[2]
end