class REXML::DTD::ElementDecl

常量

PATTERN_RE

PATTERN_RE = /^s*(#{START}.*?)>/um

START
START_RE

公共类方法

new(match) 点击切换源代码

s*(((([“‘]).*?”>5)|*)*?)(/)?>/um, true)

# File rexml-3.4.0/lib/rexml/dtd/elementdecl.rb, line 12
def initialize match
  @name = match[1]
  @rest = match[2]
end