wikidb.tracker.refs_in_message

wikidb.tracker

refs_in_message(message) -> refs

Find the issue references in a commit message

Each ref is { key, closing }, in order of first appearance. A reference must stand on its own: neither abc#42 nor #42abc is one. The word before a reference decides whether it closes, out of CLOSING_WORDS, and one closing mention marks the reference closing.