Lachlan Deck wrote:
On Apr 4, 2008, at 10:00 AM, Francis Labrie wrote:
By the way, is there a way to escape "*" and "?" (and now ".[]" ones as I can see) characters with like operators to make EOF search specifically for these characters? For example, in "sentence like '*\?'", if "\" was used to escape the question mark character, the qualifier would search for interrogative sentences.

Try:
"sentence like '*\\?'"

Escaping in Java usually requires a double backslash...


Yes, it was a typo: my tests did use a double backslash. But it doesn't work: it searches for "\" followed by any character.

--
Francis Labrie
Saint-Bruno-de-Montarville, Quebec, Canada

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to