summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMari Imaizumi <[email protected]>2025-04-16 00:31:10 +0900
committerMari Imaizumi <[email protected]>2025-04-18 19:50:23 +0900
commitccc7493308ae327fb6c089e88e0cd4436c4dc513 (patch)
treef221674c34efddeec15ab18e615a39c2b8710fb5
parent63b07cdcbba1d523219c8a59048615441d0a9c08 (diff)
U+036F is now alnum
0363..036F ; Alphabetic # Mn [13] COMBINING LATIN SMALL LETTER A..COMBINING LATIN SMALL LETTER X
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13117
-rw-r--r--spec/ruby/language/regexp/character_classes_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/language/regexp/character_classes_spec.rb b/spec/ruby/language/regexp/character_classes_spec.rb
index 8e9a0b960b..d27a54a028 100644
--- a/spec/ruby/language/regexp/character_classes_spec.rb
+++ b/spec/ruby/language/regexp/character_classes_spec.rb
@@ -113,7 +113,7 @@ describe "Regexp with character classes" do
end
it "doesn't matches Unicode marks with [[:alnum:]]" do
- "\u{36F}".match(/[[:alnum:]]/).should be_nil
+ "\u{3099}".match(/[[:alnum:]]/).should be_nil
end
it "doesn't match Unicode control characters with [[:alnum:]]" do
@@ -133,7 +133,7 @@ describe "Regexp with character classes" do
end
it "doesn't matches Unicode marks with [[:alpha:]]" do
- "\u{36F}".match(/[[:alpha:]]/).should be_nil
+ "\u{3099}".match(/[[:alpha:]]/).should be_nil
end
it "doesn't match Unicode control characters with [[:alpha:]]" do