You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get correct results if I replace \s+ (?P<file>[\S ]+) with \s+ (?P<file>[\S]+) (remove the whitespace behind \S) in the parse_line function, but not sure if this will break for different examples.
The text was updated successfully, but these errors were encountered:
Thank you for the report. I think I can fix this by making the file part of the regex non-greedy, i.e. ending with +? instead of +. I will add another unit test based on your example.
Sublime Text version:
How did you install this package?:
Operating System and version:
How did you install git itself?
Hi,
if the author name contains brackets, the regex matching fails. Say, the authorname is
Lastname, Firstname (External)
parsing the git blame outputgives
I get correct results if I replace
\s+ (?P<file>[\S ]+)
with\s+ (?P<file>[\S]+)
(remove the whitespace behind \S) in theparse_line
function, but not sure if this will break for different examples.The text was updated successfully, but these errors were encountered: