Thanks, Flint.

I'm afraid MySQL does not have this feature :-(. OTOH what I'm looking for
is simpler than that.

E.g. let's turn

[apple pear -cherry]

into

[(FLD LIKE '%apple%') AND (FLD LIKE '%pear%') AND NOT (FLD LIKE '%cherry%')]

Operators:
  (space or +) => AND
  # => OR
  - => NOT
  ( ) => ( )

It is actually not too complicated, but I wanted to use some pre-created
general parser instead of rolling our own stuff.

Thanks, Peter


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to