mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* Forgot to update the MANIFEST, WRT the removal of files from the
rexml/encodings directory * Missed a regexp speed optimization in rexml/parsers/baseparser.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7d21c237cc
commit
ece4dc43e5
2 changed files with 1 additions and 8 deletions
|
@ -168,8 +168,7 @@ module REXML
|
|||
@source.read if @source.buffer.size==0
|
||||
if @document_status == nil
|
||||
@source.consume( /^\s*/um )
|
||||
word = @source.match( /(<.*?)>/um )
|
||||
#word = @source.match_to( '>', /(<.*?)>/um )
|
||||
word = @source.match( /(<[^>]*)>/um )
|
||||
word = word[1] unless word.nil?
|
||||
case word
|
||||
when COMMENT_START
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue