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

bugtraq:logregex and multiple bug IDs

From: David Huang <khym_at_azeotrope.org>
Date: Tue, 3 Feb 2009 00:04:08 -0600

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+))?

Then in the Commit dialog, I type:
issue #123, #456

TSVN highlights "issue #123" in blue, and italicizes the "123" (and
changes the mouse pointer to a hand when it's over the "123").
However, the "456" is plain black text. I tried testing the regex at http://www.regular-expressions.info/javascriptexample.html
, and it said:

Match at position 0:
issue #123, #456
123
456

So it looks like my regex matches correctly.

TortoiseSVN 1.5.7, Build 15182 - 32 Bit , 2009/01/24 22:44:13
Windows XP SP3

-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym_at_azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 33 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA 
+ PL++
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1094977
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-02-03 07:04:35 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.