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

Re: bugtraq:logregex pattern patching broken in version 1.4?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-09-20 20:42:14 CEST

Thomas Hemmer wrote:
> Hello list,
>
> there seems to a small bug in TSVN 1.4 concerning the pattern matching of log
> messages.
>
> The situation:
> - bugtraq:logregex = ^\[(\d+)\].*
> - log message is something like "[000815] some stupid programming error fixed"
>
> Within the log message detail view, one would expect "000815" to be marked as a
> bugtrack hyperlink; however, "00815]" is marked now or, in some seldom cases, "
> fixed" (i. e. the last n chars of the log messages where n is the number of
> digits to be matched).
>
> This had been working fine in several predecessor versions.

Thanks for the report.
Fixed in revision 7547, backported to 1.4.x in revision 7548.

> Smells like a problem of 0-based versus 1-based string indexing?

Not quite, but close :)

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Sep 20 20:42:25 2006

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.