why does the following regex give me the infamous 1139 error?
IF NEW.`Email` REGEXP "/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i" THEN
SIGNAL SQLSTATE '10002'
SET MESSAGE_TEXT = 'Invalid email';
END IF