mysql> mysql> mysql> SELECT '~' REGEXP '[[.~.]]'; +----------------------+ | '~' REGEXP '[[.~.]]' | +----------------------+ | 1 | +----------------------+ 1 row in set (0.00 sec)