escaping characters

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Jun 20 02:45:07 CDT 2003


on 6/20/03 1:45, Tim Davis at timdavis at amug.org wrote:

>>>   In the mean time, before you get the next beta out, could you give
>>> me an idea of how to escape strings properly?
>> 
>> If you want self escape it you need write function that get string and
>> return other string., You iterate input string and you escape symbols
>> that
>> needed
>> 
>>          )(?'.+*
> 
> Ruslan,
> 
> I read in your document that RegEx is used on LIKE conditions. So do
> those characters only need to be escaped in LIKE conditions? What if
> condition is "=" or similar, what characters need escaping, or is it
> the same?

You need escape 
        )(?'.+*

For LIKE/REGEX search

And you need escape ONLY single quote for other conditions.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list