REGEX and ?
jda
jda at his.com
Fri Apr 20 10:56:29 CDT 2007
>Hello Jon,
>
>on 20-04-2007 16:19, jda at jda at his.com wrote:
>
>>>
>>>
>>> ALL characters that are used by REGEX itself.
>>>
>>> Please read URL about ICU regex (in wiki kernel as I remember)
>>>
>>
>> Got it. For those playing at home, the answer is
>>
>> Characters that must be quoted to be treated as literals are * ? + [
>> ( ) { } ^ $ | \ . /
>>
>
>a safe way to play with regex is to pass any string through
>Valentina.EscapeString(true) function
>
Hi Erne,
That's what I thought, and I do that, but it doesn't escape most of
the characters listed above (I think it escapes \). But try it
yourself and see if you get a different result from me.
Jon
More information about the Valentina
mailing list