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
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/init.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ module.exports =
'^(?<file>.+):' +
'(?<line>\\d+): ' +
'(?<type>.+) : ' +
'(?<message>.+)[\\r?\\n]' +
'(?<source_line>.*)[\\r?\\n]' +
'(?<message>.+)\\r?\\n' +
'(?<source_line>.*)\\r?\\n' +
'(?<marker>.*)\\^$', 'm')
XRegExp.forEach output, regex, (match, i) ->
line = parseInt(match.line) - 1
Expand Down