Escaping for regex search

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Mon May 28 01:26:12 CDT 2012


On 5/27/12 10:43 AM, "Beatrix Willius" <bwillius at gmx.de> wrote:

Hi Beatrix,

> Wouldn't the easiest solution be an additional Valentina.EscapeStringRegex?
> This would escape for both sql AND regex at the same time.

And we have 
    Valentina.EscapeString()

In the beginning, we even have here second argument
   inForRegex

But later this parameter is skipped because no sense.

Escaped are only single quote and back slash itself.


You have any troubles with Valentina.EscapeString() ?


-- 
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 mailing list