Problem with word boundaries in Valentina 2
erne
ernestogiannotta at tiscalinet.it
Tue Nov 14 11:07:34 CST 2006
on 14-11-2006 9:51, Martin S. at blackfin at elfenherz.de wrote:
> Oh, well...escaping was the keyword...
> I just had to write '\\b', a double escape, instead of only '\b'.
> Now everything is fine and I'm happy again :-)
>
then you'll be better off passing any search string through the
ValentinaEscapestring(theString, true) function
:-)
> Thank you, you two!
>
> regards,
>
> Martin S.
>
> Ruslan Zasukhin schrieb:
>> On 11/13/06 10:48 PM, "Erne" <ernestogiannotta at tiscalinet.it> wrote:
>>
>>
>>>> Note, that you can make db strength to be primary,
>>>> And use then simpler REGEX
>>>>
>>>> fld REGEX '\bbo(.*)'"
>>>>
>>>> \b really is START OF WORD ?
>>>>
>>>>
>>> maybe the search string needs to be escaped?
>>>
>>
>> Actually why () here?
>>
>> It seems enough:
>>
>> fld REGEX '\bbo.*'"
>>
>>
>>
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
--
| e r | Ernesto Giannotta
| n e | Musical Box - a media store
More information about the Valentina
mailing list