Escapestring not escaping ^

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Oct 31 17:26:10 CST 2005


On 10/31/05 5:12 PM, "jda" <jda at his.com> wrote:

Hi Jon,

> I see that
> 
>      escapedWordToFind = Valentina.EscapeString(s, true)
> 
> does not escape the ^ character (and so searches fail).
> 
> Seems like a bug to me, but we've had disagreements before about
> escaping for RegEx searches. Should I report this on Mantis?

NO.

I believe that we have close with Sergey all issues about escaping.

* In fact parameter inForRegex is NOT used any more, and will be removed.

* We should not escape ^

IT IS your user (or your app) should escape that.

    "aaa\^"bbb  -- this is what ME enter into BBEdit when I do regex




-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina-beta mailing list