summaryrefslogtreecommitdiff
path: root/ext/socket
diff options
context:
space:
mode:
authorJanosch Mùˆller <janosch84@gmail.com>2023-04-13 20:43:06 +0200
committerNobuyoshi Nakada <nobu.nakada@gmail.com>2025-07-10 21:28:41 +0900
commitbd18238a0e11b9a20ea17174bd9759c5a320fc45 (patch)
tree9efcd5b5289e756879248faa3221953877581f53 /ext/socket
parent65a0f46880ecb13994d3011b7a95ecbc5c61c5a0 (diff)
[Bug #19417] Make word prop match join_control ...
... to conform to UTS 18 as mentioned in https://bugs.ruby-lang.org/issues/19417#note-3 https://unicode.org/reports/tr18/#word states word should match join_control chars. It currently does not: ```ruby [*0x0..0xD799, *0xE000..0x10FFFF].map { |n| n.chr 'utf-8' } => all_chars all_chars.grep(/\p{join_control}/) => jc jc.count # => 2 jc.grep(/\p{word}/).count # => 0 ```
Diffstat (limited to 'ext/socket')
0 files changed, 0 insertions, 0 deletions