Mega Code Archive

 
Categories / MySQL / Regular Expression
 

As the plus sign (+) indicates that g had to appear one or more times

mysql> mysql> SELECT 'abcdef' REGEXP 'g+'; +----------------------+ | 'abcdef' REGEXP 'g+' | +----------------------+ |                    0 | +----------------------+ 1 row in set (0.00 sec) mysql>