Closed F0urchette closed 3 years ago
Recognition needs to be more restrictive using keywords :
The keywords will be the Github issue closing keywords :
close
,closes
,closed
,fix
,fixes
,fixed
,resolve
,resolves
,resolved
<keyword> <question_id>:
⚠️ Note the space between the keyword and the question ID but there is no space between the question ID and ":".
Here is a diagram illustrating the regex that could be used :
Description
Question recognition in commit messages does not identify a question if it is part of a word
Steps to reproduce
Actual result
No commit is found
Expected result
The commit whose message contains the filtered question is displayed
Hints
In
Commit.getQuestion(questions)
:questions.includes(element)
only allow to match whole words