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 #133] StringReader fails to normalize Windows line endings #145

Merged
merged 1 commit into from Apr 15, 2015
Merged

[Fix #133] StringReader fails to normalize Windows line endings #145

merged 1 commit into from Apr 15, 2015

Conversation

kkirsche
Copy link
Contributor

@kkirsche kkirsche commented Mar 2, 2015

[Fix #133] StringReader fails to normalize Windows line endings

\r matches a carriage return

\n matches a newline character.

{1, 2} matches between either 1 or 2 of the preceding tokens

This way you can start with either and should cover both linux or windows to fix #133

cc: @nschonni

[Fix #133] StringReader fails to normalize Windows line endings

`\r` matches a carriage return

`\n` matches a newline character.

`{1, 2}` matches between either 1 or 2 of the preceding tokens

This way you can start with either and should cover both linux or windows to fix #133
@kkirsche
Copy link
Contributor Author

kkirsche commented Mar 4, 2015

Wanted to follow up and see if there was anything this was missing.

1 similar comment
@kkirsche
Copy link
Contributor Author

kkirsche commented Apr 7, 2015

Wanted to follow up and see if there was anything this was missing.

nschonni added a commit that referenced this pull request Apr 15, 2015
[Fix #133] StringReader fails to normalize Windows line endings
@nschonni nschonni merged commit aaacbc0 into CSSLint:master Apr 15, 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.

StringReader fails to normalize Windows line endings
2 participants