Fabrizio Polacco wrote: > Right, and I agree. > While we are discussing the rexpr to be used, I'd ask to please consider > using: > /close[s]? \s* = \s* (?:bug)? \s* \# (\d+)/ix > > Matches: > close=#1234 > close = > #97531 > Closes = Bug#5678 and also close=#8765 > CLOSE= BUG #9090 > but not: > I can't close bug#8642 > close only part of #1480 > close=# 246
Hmm, this sounds as if you want to put the closes= stuff in the body of the changelog, like: pdmenu (1.2.25) unstable; urgency=low * Fixed permissions problem. close=#1234 closes=#1235 -- Joey Hess <[EMAIL PROTECTED]> Fri, 17 Oct 1997 16:12:36 -0400 Hmm, but my proposal was to put the closes= on the first line, like: pdmenu (1.2.25) unstable; urgency=low closes=1234,1235 * Fixed permissions problem. -- Joey Hess <[EMAIL PROTECTED]> Fri, 17 Oct 1997 16:12:36 -0400 So why the need for a complicated regexp that matches lots of variation? -- see shy jo