[Developers] pattern-matching syntax for =~ constraint in MQL
Christine Weibel
xtine at metaweb.com
Thu Apr 24 00:39:08 UTC 2008
----- Original Message -----
From: "David Flanagan" <david at davidflanagan.com>
To: "For discussions about MQL, Freebase API and apps built on Freebase" <developers at freebase.com>
Sent: Wednesday, April 23, 2008 4:38:09 PM (GMT-0800) America/Los_Angeles
Subject: Re: [Developers] pattern-matching syntax for =~ constraint in MQL
> Ian: since you posed this question you should note that
> optional:forbidden is not currently documented, either, but I'm working
on it. It is probably clear from the context here what it does.
> Christine: I had already updated my version of the docs to match the
> current behavior. I'll revert them. I don't think I've got access to
> the bug database (its not public, is it?)...
Nope, the bug database is not public. I am not sure what the plans are for that (but perhaps others do).
> So just to be clear, the
> desired behavior is that patterns always indicate phrases, and no
> escaped quotes are necessary.
I believe that's the way it is supposed to work. Somehow, I don't have a good test for this right now -- I will add one.
> To match multiple words that do not form a
> phrase, we should use ~= multiple times, right?
Yes, I believe so.
Christine
More information about the Developers
mailing list