Re: EOQualifier bad pattern for qualifier
Re: EOQualifier bad pattern for qualifier
- Subject: Re: EOQualifier bad pattern for qualifier
- From: Francis Labrie <email@hidden>
- Date: Fri, 4 Apr 2008 10:00:52 -0400
Lachlan Deck wrote:
Mike Schrag wrote:
I think you have stumbled across an undocumented feature of
CaseInsensitiveLike. I don't know what [...] might get
interpreted as, but it seems to mean something. I don't know of
any way to escape these magic characters in the qualifier value.
Appears that when like qualifiers are evaluated in-memory they
support a simplified regex syntax ... ?, *, and [A-Z] style ...
Okay, thanks guys. I'll just regex-replace any non-alphanumeric
chars for a '?'
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.
Kind regards,
--
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden