Closed six5536 closed 9 months ago
Hi @zx-ncoderz,
I'm afraid I don't quite see the difference other than a narrower definition from whitespace
to space
. The rest of it is semantics that don't change the underlying meaning. Would you like to expand further?
Also, I'm not sure if 120 implemented it but the regex engine in Chromium 119 doesn't know about \p{Zs}
@working-name You are right, I somehow mis-read the original text. Thanks for the heads up regarding support in Chrome. I'll close the issue.
Bug Description
Unicode group \p{Zs} description is not correct
Reproduction steps
Use regex: [\p{Zs}] Flavour: JavaScript, Flags: gu
Expected Outcome
A description something like:
\p{Zs} matches a space character (of various non-zero widths)
Actual Outcome
The following group description
\p{Zs} matches a whitespace character that is invisible, but does take up space
Browser
Chrome 120.0.6099.109 (Official Build) (x86_64)
OS
MacOS 14.1.2 (23B92)