Submit
Path:
~
/
/
opt
/
alt
/
ruby21
/
lib64
/
ruby
/
2.1.0
/
rexml
/
dtd
/
File Content:
elementdecl.rb
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
Submit
FILE
FOLDER
Name
Size
Permission
Action
attlistdecl.rb
197 bytes
0644
dtd.rb
1319 bytes
0644
elementdecl.rb
420 bytes
0644
entitydecl.rb
1665 bytes
0644
notationdecl.rb
1059 bytes
0644
N4ST4R_ID | Naxtarrr