[Developers] pattern-matching syntax for =~ constraint in MQL

David Flanagan david at davidflanagan.com
Tue Apr 15 20:15:58 UTC 2008


The * in the query below used to match a single word:

[{
   "type" : "/music/artist",
   "name" : null,
   "name~=" : "^The *$"
}]

So this query would return The Clash, but not The Mighty Mighty 
Bosstones.  That's changed: the * now seems to match any string.

Can anyone tell me if there is any new syntax to match a single word?

	David


More information about the Developers mailing list