Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

fix regex for Windows #49

Merged
merged 1 commit into from
Feb 17, 2016
Merged

fix regex for Windows #49

merged 1 commit into from
Feb 17, 2016

Conversation

dirk-thomas
Copy link
Member

Fixes #48.

@Arcanemagus
Copy link
Member

LGTM, or just turn those into non-capturing groups. Either way works fine (this might take less execution time, not sure).

dirk-thomas added a commit that referenced this pull request Feb 17, 2016
@dirk-thomas dirk-thomas merged commit d49d2ce into master Feb 17, 2016
@dirk-thomas dirk-thomas deleted the fix_regex_for_windows branch February 17, 2016 17:48
@dirk-thomas
Copy link
Member Author

The newlines were not in a capturing group. They were a character class. But since it needs to map \n on Linux and \r\n on Windows using a character class was just wrong.

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

Successfully merging this pull request may close these issues.

2 participants