/tools/Ruby/lib/ruby/1.8/rexml/dtd/attlistdecl.rb

http://github.com/agross/netopenspace · Ruby · 10 lines · 10 code · 0 blank · 0 comment · 0 complexity · 36f722035fb28704934e1ed16a053b35 MD5 · raw file

  1. require "rexml/child"
  2. module REXML
  3. module DTD
  4. class AttlistDecl < Child
  5. START = "<!ATTLIST"
  6. START_RE = /^\s*#{START}/um
  7. PATTERN_RE = /\s*(#{START}.*?>)/um
  8. end
  9. end
  10. end