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

handle empty comments correctly #10

Merged
merged 1 commit into from
Jun 19, 2014
Merged

handle empty comments correctly #10

merged 1 commit into from
Jun 19, 2014

Conversation

johnyb
Copy link
Collaborator

@johnyb johnyb commented Jun 19, 2014

since the lines in the parser have all newline characters removed, \s+ will
not match empty comments.

Added an example that makes other tests fail without this patch.

since the lines in the parser have all newline characters removed, \s+ will
not match empty comments.

Added an example that makes other tests fail without this patch.
@johnyb
Copy link
Collaborator Author

johnyb commented Jun 19, 2014

PS: our large po files are now parsed correctly with all those strange things in them ;D so no more PR for now ;P

rubenv added a commit that referenced this pull request Jun 19, 2014
@rubenv rubenv merged commit 1b5668b into rubenv:master Jun 19, 2014
@rubenv
Copy link
Owner

rubenv commented Jun 19, 2014

Ah, that's a shame, I'm appreciating these pull requests!

@rubenv
Copy link
Owner

rubenv commented Jun 19, 2014

Published to NPM as 0.2.10.

@johnyb johnyb deleted the handle_empty_comments branch June 25, 2014 12:29
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.

2 participants