-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add WSpace
as a valid Unicode property alias for White_Space
#3286
Comments
This comment was marked as spam.
This comment was marked as spam.
@lgalfaso What is the motivation for this other than purity/consistency? I would rather read |
@michaelficarra the reason for this is about expected compatibility. Engines that use some third party library that understands the alias If people rather write |
OP is right; we somehow forgot to include the I too prefer not using aliases but ECMAScript does support them, and this is the only known case where we officially support the property but not all its aliases. |
Description: Add
WSpace
as a valid Unicode property alias forWhite_Space
The table of Binary Unicode property aliases defines the aliases for all Unicode properties. In all cases but one, the definition allows the use of the Unicode property long name, and the corresponding Unicode property short name as a valid alias. There is one exception to this with the Unicode property
White_Space
that defines the aliasspace
.Unicode property aliases defines the aliases for the property
White_Space
with the property short nameWSpace
, and the "Other alias" ofspace
.To be consistent with the other properties, the short property name
WSpace
should be added as a valid alias to the propertyWhite_Space
. The Unicode property aliasspace
should be preserved.v8 and jsc already support
WSpace
as a valid property alias forWhite_Space
.The text was updated successfully, but these errors were encountered: