Engine fails when a file path contains a colon
maxjacobson opened this issue · 0 comments
maxjacobson commented
The problem is on this line:
match_data = line.match(/(?<path>[^:]*):(?<line_number>\d+): (?<code>MD\d+) (?<description>.*)/)
specifically the [^:]*
pattern, which stipulates that a file path is (translating from regex to English) anything except a colon
I think changing this to simply .*
would work fine.