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

Re: [TSVN] bugtraq:logregex problem if string is at the end

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-04-27 19:20:29 CEST

Rainer Müller wrote:
> Hi,
>
> I'm using:
>
> bugtraq:logregex
> [Ii]ssues?:?(\s*(,|and)?\s*#\d+)+
> (\d+)
>
> (2 lines intended, "stolen" from TSVN repo)

Are you absolutely sure that this is the regex you're using? Because
TSVN uses the exact same string. And it works for me (see below).

> If I now enter "Issue: #4" (without quotes) at the very end of the log
> message (no newline or whitespace) the "#4" gets linked. If I add a
> single space after it is works correct and only links the "4".
>
> It is quite annoying because it links to ?bugid=#4 but it should be ?bugid=4
>
> Anyone got a fix for this?

I just tried that with the TSVN repository (if people subscribed to the
commits list wonder why there are some 'props changed' mails - that's
why ;) ). It doesn't happen here for me. Even if I remove all
whitespaces and newlines at the end of a log message.

What version of TSVN are you using?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Apr 27 19:49:27 2005

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

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