// "Replace '\s' sequences with spaces" "true-preview" class X { void test(String str) { if (str.matches(" a b c d")) { } } }