It just took me 2 hours to fix the problem on my server.
The fact is that an empty string equals a space:
SELECT ' ' = ''; -> 1 SELECT STRCMP(' ', ''); -> 0
Interesting that
SELECT '' REGEXP '[ ]'; -> 0 SELECT '' REGEXP ' '; -> 0 SELECT ' ' REGEXP ' '; -> 1
Can this be prevented? Is this a setting?
Sebas
source share