Module: XML::Spec
- Defined in:
- lib/xml/dom/core.rb
Overview
- Masaki Fukushima
Constant Summary collapse
- Letter_s =
XML
'[a-zA-Z]'
- Digit_s =
'\d'
- NameChar_s =
"(#{Letter_s}|#{Digit_s}|[\\.\\-_:])"
- Name_s =
"(#{Letter_s}|[_:])#{NameChar_s}*"
- SkipLit_s =
"(\"[^\"]*\"|'[^']*')"
- Name =
/^#{Name_s}$/o
- SkipList =
/^#{SkipLit_s}$/o
- Instance_s =
XPointer
"(\\+|-)?[1-9]#{Digit_s}*"
- Instance =
/^#{Instance_s}$/o