Skip to content

Conversation

@lyonlh
Copy link
Contributor

@lyonlh lyonlh commented Dec 7, 2019

Fix the issue #90

Comment on lines +35 to +36
make_enter_dir = re.compile(r"^\s*make(?:\[\d+\])*: Entering directory [`\'\"](?P<dir>.*)[`\'\"]\s*$")
make_leave_dir = re.compile(r"^\s*make(?:\[\d+\])*: Leaving directory .*$")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest to allow at most one bracket pair:

Suggested change
make_enter_dir = re.compile(r"^\s*make(?:\[\d+\])*: Entering directory [`\'\"](?P<dir>.*)[`\'\"]\s*$")
make_leave_dir = re.compile(r"^\s*make(?:\[\d+\])*: Leaving directory .*$")
make_enter_dir = re.compile(r"^\s*make(?:\[\d+\])?: Entering directory [`\'\"](?P<dir>.*)[`\'\"]\s*$")
make_leave_dir = re.compile(r"^\s*make(?:\[\d+\])?: Leaving directory .*$")

@i-ky
Copy link

i-ky commented Jun 29, 2022

@nickdiego, could you please merge and release this fix, please?

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