mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc/*, test/rdoc/*: Update rdoc-5.0.0
Release note: b825775647/History.rdoc (500--2016-11-05)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0a0eb2807e
commit
cdc527db34
27 changed files with 62 additions and 144 deletions
|
@ -853,11 +853,7 @@ class RDoc::RubyLex
|
|||
end
|
||||
end
|
||||
|
||||
IDENT_RE = if defined? Encoding then
|
||||
eval '/[\w\u{0080}-\u{FFFFF}]/u' # 1.8 can't parse \u{}
|
||||
else
|
||||
/[\w\x80-\xFF]/
|
||||
end
|
||||
IDENT_RE = eval '/[\w\u{0080}-\u{FFFFF}]/u'
|
||||
|
||||
def identify_identifier
|
||||
token = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue