📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 07:42:59
📂
/ (Root)
/
opt
/
alt
/
ruby26
/
lib64
/
ruby
/
2.6.0
/
rexml
/
dtd
📍 /opt/alt/ruby26/lib64/ruby/2.6.0/rexml/dtd
🔄 Refresh
✏️
Editing: elementdecl.rb
Read Only
# frozen_string_literal: false require_relative "../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
💾 Save Changes
❌ Cancel