12 lines
234 B
Ruby
12 lines
234 B
Ruby
# frozen_string_literal: false
|
|
require_relative "../child"
|
|
module REXML
|
|
module DTD
|
|
class AttlistDecl < Child
|
|
START = "<!ATTLIST"
|
|
START_RE = /^\s*#{START}/um
|
|
PATTERN_RE = /\s*(#{START}.*?>)/um
|
|
end
|
|
end
|
|
end
|