- Output for 8.0.1 - 8.0.30, 8.1.0 - 8.1.33, 8.2.0 - 8.2.29, 8.3.0 - 8.3.26, 8.4.1 - 8.4.14
- |whitespace characters | /\s+/ | /\s+/u | /\pZ+/u | /\pC+/u | /[\pZ\pC]+/u | /[\x{0009}-\x{000D}\x{0020}\x{0085}\x{00A0}\x{1680}\x{180E}\x{2000}-\x{200D}\x{2028}-\x{202F}\x{205F}\x{2060}\x{3000}\x{FEFF}]+/ux |
|-------------------------------|:------------:|:------------:|:------------:|:------------:|:------------:|:------------:|
| character tabulation | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ |
| line feed | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ |
| line tabulation | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ |
| form feed | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ |
| carriage return | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ |
| space | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ |
| next line | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ |
| no-break space | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| ogham space mark | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| mongolian vowel separator | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ |
| en quad | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| em quad | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| en space | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| em space | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| three-per-em space | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| four-per-em space | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| six-per-em space | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| figure space | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| punctuation space | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| thin space | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| hair space | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| zero width space | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ |
| zero width non-joiner | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ |
| zero width joiner | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ |
| line separator | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| paragraph separator | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| narrow no-break space | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| medium mathematical space | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| word joiner | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ |
| ideographic space | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ |
| zero width non-breaking space | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ |
- Output for 5.5.38, 5.6.0
- |whitespace characters | /\s+/ | /\s+/u | /\pZ+/u | /\pC+/u | /[\pZ\pC]+/u | /[\x{0009}-\x{000D}\x{0020}\x{0085}\x{00A0}\x{1680}\x{180E}\x{2000}-\x{200D}\x{2028}-\x{202F}\x{205F}\x{2060}\x{3000}\x{FEFF}]+/ux |
|-------------------------------|:------------:|:------------:|:------------:|:------------:|:------------:|:------------:|
| character tabulation | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| line feed | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| line tabulation | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| form feed | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| carriage return | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| space | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| next line | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| no-break space | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| ogham space mark | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| mongolian vowel separator | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| en quad | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| em quad | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| en space | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| em space | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| three-per-em space | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| four-per-em space | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| six-per-em space | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| figure space | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| punctuation space | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| thin space | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| hair space | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| zero width space | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| zero width non-joiner | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| zero width joiner | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| line separator | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| paragraph separator | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| narrow no-break space | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| medium mathematical space | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| word joiner | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| ideographic space | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| zero width non-breaking space | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |