Hi there,
I’m trying to set up an issue connector for our Fogbugz system and have some problems with the regular expression. Our subversion checkin comments always start with “BUG {casenumber}:” or “IMP {casenumber}:” and I’d like to extract the case number from the comments. The comments may have multiple lines with multiple case numbers.
So far I set up this regular expression:
(?i)[(IMP|BUG|BUGFIX)] (?\d+)
This works in most cases but it also validates with Subversion’s default merge comments. From
Merged revision(s) 10794-10808 from trunk
the 10794 is extracted as an id. Am I missing something?Regards
Kay Zumbusch