[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: bugtraq:logregex and multiple bug IDs

From: Sam Nabialek <Sam.Nabialek_at_cylon.com>
Date: Tue, 03 Feb 2009 09:53:00 +0000

> In regards to the one-line bugtraq:logregex format, my interpretation
> of this sentence from the TSVN help: "If only one expression is set,
> then the bare bug IDs must be matched in the groups of the regex
> string." is that multiple groups in the regex will match multiple bug
> IDs. Is that correct? I can only get the first group to work.
>
> For example, I have bugtraq:logregex set to:
> issue #(\d+)(?:, #(\d+))?
>

I find that #(\d+) will do what you want. That is if you can ignore the 'issue' text. We've loosened up our format to allow bug IDs anywhere in the text.

FWIW your regex will match at most two numbers. To match more you'll need * instead of ? at the end.

bscribe_at_tortoisesvn.tigris.org].

<B>CYLON - smart energy control</B><br>
Cylon Controls Limited, Clonshaugh Business & Technology Park, Clonshaugh, Dublin 17, Ireland. Registered in Ireland No. 110195

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1096000

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-02-03 10:56:48 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.