I'm getting a strange mysql error that I've never really seen before. It's caused by a query similar to the one below. Any advice?
SELECT *
FROM table
WHERE col REGEXP '^* MAN *$'
LIMIT 100
Error:
#1139 - Got error 'repetition-operator operand invalid' from regexp
-- UPDATE --
Ok I can confirm that the following two solutions worked. Thanks to the help of both answers below:
SELECT *
FROM table
WHERE col REGEXP '^(\\*) MAN (\\*)$'
LIMIT 100
SELECT *
FROM table
WHERE col REGEXP '^[*] MAN [*]$'
LIMIT 100