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

fix: Escape sequence in id selectors being ignored #89

Merged
merged 1 commit into from
Nov 9, 2019

Conversation

eps1lon
Copy link
Contributor

@eps1lon eps1lon commented Nov 5, 2019

@@ -67,7 +67,7 @@ export type TraversalType =
| "parent"
| "sibling";

const reName = /^(?:\\.|[\w\-\u00b0-\uFFFF])+/,
const reName = /^(?:\\([\da-f]{1,6}\s?|(\s)|.)|[\w\-\u00b0-\uFFFF])+/,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is the regex for an escape sequence which is also used in reEscape

@coveralls
Copy link

Coverage Status

Coverage remained the same at 75.974% when pulling ed525f3 on eps1lon:fix/id-escape-sequence into 85a3fec on fb55:master.

@fb55 fb55 merged commit 89959c8 into fb55:master Nov 9, 2019
@fb55
Copy link
Owner

fb55 commented Nov 9, 2019

Published as 3.2.1!

@eps1lon eps1lon deleted the fix/id-escape-sequence branch November 10, 2019 08:03
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.

3 participants