summaryrefslogtreecommitdiff
path: root/test/ruby/test_regexp.rb
diff options
context:
space:
mode:
authorMari Imaizumi <[email protected]>2025-04-18 16:16:59 +0900
committerMari Imaizumi <[email protected]>2025-04-18 19:50:23 +0900
commit63b07cdcbba1d523219c8a59048615441d0a9c08 ()
tree25f04ec92d0a3dd05f1dbfba4ce64df9e65dfcad /test/ruby/test_regexp.rb
parent900ece77b2d338300ea79d19e7c623043a0be810 (diff)
[Feature #20724] Bump Unicode version to 16.0.0
Notes: Merged: https://.com/ruby/ruby/pull/13117
-rw-r--r--test/ruby/test_regexp.rb101
1 files changed, 101 insertions, 0 deletions
@@ -1524,6 +1524,107 @@ class TestRegexp < Test::Unit::TestCase
"CJK UNIFIED IDEOGRAPH-2EBF0..CJK UNIFIED IDEOGRAPH-2EE5D")
end
UnicodeAgeRegexps = Hash.new do |h, age|
h[age] = [/\A\p{age=#{age}}+\z/u, /\A\P{age=#{age}}+\z/u].freeze
end