Skip to content

unicode: Properly parse ranges in UnicodeData.txt #23000

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

Merged
merged 1 commit into from
Mar 6, 2015

Conversation

Florob
Copy link
Contributor

@Florob Florob commented Mar 3, 2015

This handles the ranges contained in UnicodeData.txt.
Counterintuitively this actually makes the tables shorter.

This handles the ranges contained in UnicodeData.txt.
Counterintuitively this actually makes the tables shorter.
@rust-highfive
Copy link
Contributor

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@brson
Copy link
Contributor

brson commented Mar 3, 2015

Since this changes the tables I assume it alters the behavior of some string APIs. Can you add a test that captures what was broken here?

@Florob
Copy link
Contributor Author

Florob commented Mar 3, 2015

You'd think, but except for two tables (that are unaffected by this change) all of these exist just for the benefit of the regexp crate right now.

@brson
Copy link
Contributor

brson commented Mar 4, 2015

@bors: rollup r+

OK, taking this on blind faith!

@bors
Copy link
Collaborator

bors commented Mar 4, 2015

@bors r=brson c9e2de4

Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 4, 2015
 This handles the ranges contained in UnicodeData.txt.
Counterintuitively this actually makes the tables shorter.
Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 5, 2015
 This handles the ranges contained in UnicodeData.txt.
Counterintuitively this actually makes the tables shorter.
@bors bors merged commit c9e2de4 into rust-lang:master Mar 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants