I want to search my database for any string which contains the Butterfly Emoji - - using
regexp
.
For example
SELECT *
FROM `table`
WHERE `text`
REGEXP ''
I'm using REGEXP
because I might want to search for Hello[[:space:]]world
or similar.
I get the error
Got error 'nothing to repeat at offset 0' from regexp
This works:
SELECT *
FROM `table`
WHERE `text`
LIKE '%%'
But then I lose the ability to search for, say, flying[[:space:]]
My Collation is utf8mb4_unicode_ci
. The database is 10.0.36-MariaDB