IN comments, [Bb]ug #?<N> should be parsed as T<N+2000> (e.g. "bug 323" rendered as T3232). Ideally, the full bugzilla syntax would be parsed/converted, see https://bzr.mozilla.org/bugzilla/4.4/view/head:/Bugzilla/Template.pm#L234
----
Use case:
@Chasemp: For sentences imported from Bugzilla tickets in comments like
*** Bug 12345 has been marked as a duplicate of this bug. ***
(yes, those are three stars at the start of the line turned into a bullet point, meh, another cosmetic thingy)
Would it be acceptable (performance wise, codewise) to have a regex in the import code to turn the plain string "Bug 12345678" into an equivalent T54321?
I know that some folks like to look at duplicates because they might provide more information about a bug and clicking instead of manual copy and paste fiddling sounds easier...