mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
nodoc UnicodeNormalize module
* lib/unicode_normalize/normalize.rb: [DOC] nodoc the internal UnicodeNormalize module. * lib/unicode_normalize/tables.rb: ditto. * template/unicode_norm_gen.tmpl: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a1caed95cb
commit
0c10564dd9
3 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
|||
require 'unicode_normalize/tables.rb'
|
||||
|
||||
|
||||
module UnicodeNormalize
|
||||
module UnicodeNormalize # :nodoc:
|
||||
## Constant for max hash capacity to avoid DoS attack
|
||||
MAX_HASH_LENGTH = 18000 # enough for all test cases, otherwise tests get slow
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
# automatically generated by template/unicode_norm_gen.tmpl
|
||||
|
||||
module UnicodeNormalize
|
||||
module UnicodeNormalize # :nodoc:
|
||||
accents = "" \
|
||||
"[\u0300-\u034E\u0350-\u036F\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7" \
|
||||
"\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711" \
|
||||
|
|
|
@ -157,7 +157,7 @@ end
|
|||
|
||||
# automatically generated by template/unicode_norm_gen.tmpl
|
||||
|
||||
module UnicodeNormalize
|
||||
module UnicodeNormalize # :nodoc:
|
||||
accents = "" \
|
||||
"[<% accent_array.each_regexp_chars do |rx|%><%=rx%>" \
|
||||
"<% end%>]"
|
||||
|
|
Loading…
Reference in a new issue