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

Re: bugtraq:logregex doesn't work after upgrading TortoiseSVN from 1.4 to 1.5

From: Mike <mhenry07_at_gmail.com>
Date: Fri, 10 Oct 2008 15:03:11 -0700 (PDT)

Thanks for the info Stefan.

I did a little research on TR1 regular expressions and the only way I
found to make them case-insensitive is at the C++ level by using the
icase flag in the regex constructor (see <http://www.johndcook.com/
cplusplusregex.html#case>).

I guess I'll be adding explicit case checking to our bugtraq:logregex
properties, but that shouldn't be too hard.

- Mike

On Oct 10, 2:43 pm, Stefan Küng <tortoise..._at_gmail.com> wrote:
> Mike wrote:
> > I played around with my bugtraq:logregex value a bit and it seems that
> > removing the (?i) modifier allows it to work properly (except that
> > it's now case-sensitive). Is there another way to specify that the
> > regular expression is case insensitive?
>
> > I also tried adding /i to the end but that doesn't seem to work. If
> > there's no case-insensitive modifier, does that mean I must use
> > explicit case checking, such as ...[Ss]ee... ?
>
> TSVN 1.5 uses the tr1 regex which is now part of the c-runtime library
> (as of VS2008, SP1). Earlier versions used the boost regex engine.
> I don't know whether the tr1 regex even has a case-insensitive modifier.
> Maybe you can find some docs about that. If it doesn't support that,
> then yes, you'd have to do explicit case checking.
>
> Stefan
>
> --
>        ___
>   oo  // \\      "De Chelonian Mobile"
>  (_,\/ \_/ \     TortoiseSVN
>    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
>    /_/   \_\    http://tortoisesvn.net
>
>  signature.asc
> < 1KViewDownload

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-10-11 00:06:20 CEST

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.