Submit
Path:
~
/
/
opt
/
alt
/
ruby25
/
lib64
/
ruby
/
2.5.0
/
rexml
/
dtd
/
File Content:
elementdecl.rb
# frozen_string_literal: false 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
228 bytes
0644
dtd.rb
1230 bytes
0644
elementdecl.rb
450 bytes
0644
entitydecl.rb
1696 bytes
0644
notationdecl.rb
1090 bytes
0644
N4ST4R_ID | Naxtarrr