Closed mikesherov closed 12 years ago
I don't think we can create a generalized enough regex, there are so many ways to do it.
Suggestion: Add a property in the issues config to specify a regex to override the default, per issue?
How about this:
findBug = /(?:ref|refs|close|closes|fix|fixes)\s+#(\d+)/ig,
That still leaves: fixed, closed, resolved
If you add those it will work with GitHub issue references, but other systems might work differently, by eg. using different words or dropping the #.
currently, it expects issues to be a
#
followed by a 4-5 digit number. That's not a good enough regex.