Skip to content
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

Use Unicode v5.1.0 for whitespace #7

Closed
mathiasbynens opened this issue Oct 8, 2014 · 1 comment
Closed

Use Unicode v5.1.0 for whitespace #7

mathiasbynens opened this issue Oct 8, 2014 · 1 comment
Labels

Comments

@mathiasbynens
Copy link
Owner

Quote from https://people.mozilla.org/~jorendorff/es6-draft.html#sec-white-space (emphasis mine):

ECMAScript implementations must recognize as Whitespace code points listed in the “Separator, space” (Zs) category by Unicode 5.1. ECMAScript implementations may also recognize as Whitespace additional category Zs code points from subsequent editions of the Unicode Standard.

At the moment we’re using Unicode v7.0.0 for everything, which means we’re missing out on some Unicode v5.1.0 code points.

mathiasbynens added a commit that referenced this issue Oct 8, 2014
The use of Unicode v5.1.0 for this data is required by the spec.

Fixes #7.
johnjbarton pushed a commit to google/traceur-compiler that referenced this issue Oct 13, 2014
This fixes a bug with the output for `/\s/u` and `/\S/u`. See mathiasbynens/regexpu#7.

Review URL: https://api.github.com/repos/google/traceur-compiler/issues/1411

Closes #1411.
@mathiasbynens
Copy link
Owner Author

This requirement was removed in ES2016. Follow-up commit: mathiasbynens/regexpu-core@9b10d2a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant