Sha256: f20881c811a2b0193eabb33ebe33065f48bff53fa163b9f67c5fd5bc7a760bfd
Contents?: true
Size: 420 Bytes
Versions: 147
Compression:
Stored size: 420 Bytes
Contents
require "rexml/child" module REXML module DTD class ElementDecl < Child START = "<!ELEMENT" START_RE = /^\s*#{START}/um PATTERN_RE = /^\s*(#{START}.*?)>/um PATTERN_RE = /^\s*#{START}\s+((?:[:\w_][-\.\w_]*:)?[-!\*\.\w_]*)(.*?)>/ #\s*((((["']).*?\5)|[^\/'">]*)*?)(\/)?>/um, true) def initialize match @name = match[1] @rest = match[2] end end end end
Version data entries
147 entries across 147 versions & 4 rubygems