1 message in com.mysql.lists.mysql[DOCS COMMENT] Section 'Regexp'
FromSent OnAttachments
erik03 Jan 2001 16:57 
Subject:[DOCS COMMENT] Section 'Regexp'
From:erik (er@powells.com)
Date:01/03/2001 04:57:33 PM
List:com.mysql.lists.mysql

The following comment was submitted to the MySQL Manual.

---------------------------------------------------------------------

From: erik <er@powells.com> Regarding: http://www.mysql.com/manual.php?section=Regexp

something that they never get into in this documentation is how to effectively use it (period) in a SQL query with, oh, tables, and columns. :)

select users from table where first_name REGEXP "^[RBrb]ob";

will select all users that have names that start with rob/bob (first character case insensitive)

Those of us who use DBI + Perl or php can certainly make effective use of this.