@horstmann.comCay Horstmann @horstmann.com
2026-05-03 19:28 UTC
PSA about white space in modern Java. Character::isWhitespace and String::strip are aligned. But the regex "(?U)\\s" differs in code points 28, 29, 30, 31, (Information separator 4...1) , 133 (Next line), 160 (No-break space ⚠), 8199 (Figure space), 8239 (Narrow no-break space).
1 likes, 0 reposts, 0 replies
3 Next post4 More from @horstmann.comBackBluesky home