Module: XMLScan::XMLScanner::OptRegexp

Included in:
XMLScan::XMLScanner
Defined in:
lib/xmlscan/scanner.rb

Constant Summary collapse

UTFSTR =
"é"
RE_ENCODINGS =
{
  :n=>/e/n.encoding,
  :e=>/#{E_OPT_EXAMPLE}/e.encoding,
  :s=>/#{S_OPT_EXAMPLE}/s.encoding,
  :u=>/#{UTFSTR}/u.encoding
}
RE_ENCODING_OPTIONS =
{
  :n=>/e/n.options,
  :e=>/#{E_OPT_EXAMPLE}/e.options,
  :s=>/#{S_OPT_EXAMPLE}/s.options,
  :u=>/#{UTFSTR}/u.options
}