Re: database question
| From: | Jani Mikkonen | Date: | Thu, 29 Nov 2001 16:11:26 +0000 |
| Subject: | Re: database question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76057@lists.php.net to get a copy of this message | ||
> select whatever from articles where textlines regexp "^\Sbingo\S$"
Again, that would fail if the word 'bingo' is and the end of the sentence.
Allthou i realized my own example doesnt work either in that case. Best way
would be remove all characters like ,.!? and and split the string into
words.
But another question, do regular expressions really work in string
comparisons ?