Tom Svensson wrote:
> 
> Hi!
> 
> I'm using version 3.23.37 of MySQL (for Windows). Why does REGEXP
> seems to be case insensitive?
> Queries like
> SELECT "tom" REGEXP "tOm";
> returns 1.... Why? And how can I solve it (to return 0)?
> 
> Regards,
> Tom S.
> 
> ---------------------------------------------------------------------
> 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

REGEXP is case insensitive by default, but can be case sensitive;
it is explained in the manual ;)

http://www.mysql.com/doc/P/a/Pattern_matching.html

--
Joseph Bueno
NetClub/Trader.com

---------------------------------------------------------------------
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

Reply via email to