Class | REXML::DTD::ElementDecl |
In: |
lib/rexml/dtd/elementdecl.rb
|
Parent: | 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)
# File lib/rexml/dtd/elementdecl.rb, line 11 11: def initialize match 12: @name = match[1] 13: @rest = match[2] 14: end