Sha256: 1a5590aeaaf31d7cebbc22c2f263752ca43ac5e1394cbff2bf696a84a06fb1ce
Contents?: true
Size: 419 Bytes
Versions: 67
Compression:
Stored size: 419 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
67 entries across 39 versions & 3 rubygems