At 3:15 PM -0700 7/14/01, xris wrote: >I have a very simple query that used to work and then recently stopped. It >goes something like: > >SELECT name FROM Items WHERE category RLIKE '^\* new cat \*'; > >Now, I'm pretty familiar with how regex works, and I was pretty sure that >when I put a \ in front of the * it would interpret it as a * instead of the >"0 or more of previous" operator. But it's giving me the following error: > > Got error 'repetition-operator operand invalid' from regexp > >I really need to figure this out. I was told by someone to double-escape >them (like" "^\\* new.."), but to me that would read as "0 or more \ >characters at the beginning of the string", not "a string that starts with >the * character" which is what I need. > >Help? Did you try the advice you were given? What happened? -- Paul DuBois, [EMAIL PROTECTED] --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php