Update Issue Linker regex to only include issues from the same repo
jonalmeida opened this issue · 0 comments
jonalmeida commented
We're using a simple regex here for grabbing the linked issue that will find any issue ID, regardless of repo:
We can update this to only link an ID when it's not part of the same repo. The below expression translates to: do not match if the preceding token is a string value.
(?<![A-Za-z\-\_]+)#(\d+)+
Regex evaluator with tests: https://regexr.com/6rg2v
┆Issue is synchronized with this Jira Task