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

Re: sub-string filter hint text

From: Lübbe Onken <luebbe.tortoisesvn_at_googlemail.com>
Date: Thu, 01 Oct 2009 18:07:11 +0200

Stefan Fuhrmann wrote:

Thanks for the explanation. This warrants an entire section in our docs :)

> You are right. I just couldn't come up with a
> different useful example / examples to show
> exclusion and / or searching for double quotes.
>
>> not a "good" example text, but maybe easier to understand:
>>
>> -\"no \"!\" on"\ : commits that don't contain the string 'no \"!\"
> on\'\r\n
>
> '-"no "!" on"' looks for revisions not containing
> '-"no "!"' but 'on"'.

Ouch, I didn't grok the internal '"' properly. With your explanation
above it becomes clearer.

> There is no way to express
> '" \" "' without using a proper regular expression.

I used the '\"' because it is written like this in the hint text. Of
course this has to be entered non regex escaped.

Can I match a double quote inside a string that contains blanks?!?

Like this: '-"no ""!"" on"' hopefully looks for revisions not containing
'no "!" on'?
Or is this cut off at '"no ""!""' because the fifth '"' is followed by a
blank?

> Suggestion:
>
> -""funny" : commits that don't contain the string '"funny'

Funny indeed :)

Cheers
-Lübbe

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-10-01 18:07:13 CEST

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.