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

Re: Bugtraq property with two fields

From: Ron Wilson <ronw.mrmx_at_gmail.com>
Date: Wed, 2 Nov 2011 18:36:07 -0400

On Wed, Nov 2, 2011 at 6:01 PM, Craig McQueen
<craig.mcqueen_at_beamcommunications.com> wrote:
> Is there any way to set up bugtraq properties to handle two fields? E.g.
> match something like “bug #123 comment #4”, and turn it into a hyperlink to:
>
> http://myserver/bugzilla3/show_bug.cgi?id=123#c4

Try setting your regex to something like:

Issue\s+([0-9]+|[0-9]+[#][0-9]+)

This would match "Issue 123" or "Issue 123#4".

(Assuming TSVN's regex engine can handle this. I am not able to test
this right now.)

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-11-02 23:36:11 CET

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