We'd like to have code comments like // TODO(#123456), but a trailing space (or other whitelisted character) is needed for the hover cards to appear, like // TODO(#123456 ).
Looks like \) could be added to the final capture group here:
|
export const ISSUE_EXPRESSION = /(([^\s]+)\/([^\s]+))?#([1-9][0-9]*)($|[\s\:\;\-\(\=])/; |
Not sure if there are other usage patterns that would be false positives with that character allowed.