I also changed it in bedrock to `r'\bbug (\d+)\b'` as we don't always use square brackets around bugs in commits.