mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Import REXML 3.1.9
It restores removed REXML::Parsers::BaseParser::UNQME_STR. Because it's used by kramdown. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1bcc76338d
commit
04e0609a06
4 changed files with 7 additions and 2 deletions
2
NEWS
2
NEWS
|
@ -480,7 +480,7 @@ sufficient information, see the ChangeLog file or Redmine
|
||||||
|
|
||||||
[REXML]
|
[REXML]
|
||||||
|
|
||||||
* Upgrade to REXML 3.1.8.
|
* Upgrade to REXML 3.1.9.
|
||||||
See https://github.com/ruby/rexml/blob/master/NEWS.md.
|
See https://github.com/ruby/rexml/blob/master/NEWS.md.
|
||||||
|
|
||||||
[Improved some XPath implementations]
|
[Improved some XPath implementations]
|
||||||
|
|
|
@ -37,6 +37,10 @@ module REXML
|
||||||
QNAME_STR= "(?:(#{NCNAME_STR}):)?(#{NCNAME_STR})"
|
QNAME_STR= "(?:(#{NCNAME_STR}):)?(#{NCNAME_STR})"
|
||||||
QNAME = /(#{QNAME_STR})/
|
QNAME = /(#{QNAME_STR})/
|
||||||
|
|
||||||
|
# Just for backward compatibility. For example, kramdown uses this.
|
||||||
|
# It's not used in REXML.
|
||||||
|
UNAME_STR= "(?:#{NCNAME_STR}:)?#{NCNAME_STR}"
|
||||||
|
|
||||||
NAMECHAR = '[\-\w\.:]'
|
NAMECHAR = '[\-\w\.:]'
|
||||||
NAME = "([\\w:]#{NAMECHAR}*)"
|
NAME = "([\\w:]#{NAMECHAR}*)"
|
||||||
NMTOKEN = "(?:#{NAMECHAR})+"
|
NMTOKEN = "(?:#{NAMECHAR})+"
|
||||||
|
|
|
@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
|
||||||
".travis.yml",
|
".travis.yml",
|
||||||
"Gemfile",
|
"Gemfile",
|
||||||
"LICENSE.txt",
|
"LICENSE.txt",
|
||||||
|
"NEWS.md",
|
||||||
"README.md",
|
"README.md",
|
||||||
"Rakefile",
|
"Rakefile",
|
||||||
"lib/rexml/attlistdecl.rb",
|
"lib/rexml/attlistdecl.rb",
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
module REXML
|
module REXML
|
||||||
COPYRIGHT = "Copyright © 2001-2008 Sean Russell <ser@germane-software.com>"
|
COPYRIGHT = "Copyright © 2001-2008 Sean Russell <ser@germane-software.com>"
|
||||||
DATE = "2008/019"
|
DATE = "2008/019"
|
||||||
VERSION = "3.1.8"
|
VERSION = "3.1.9"
|
||||||
REVISION = ""
|
REVISION = ""
|
||||||
|
|
||||||
Copyright = COPYRIGHT
|
Copyright = COPYRIGHT
|
||||||
|
|
Loading…
Reference in a new issue