Subject Why this similar to is wrong?
Author

select 

       iif('email@...' similar to '([_a-zA-Z\d\-\.]+@[_a-zA-Z\d\-]+(\.[_a-zA-Z\d\-]+)+)','ok','fail')

from rdb$database


Says 'invalid string' and 'invalid pattern', but the pattern it´s the same in other languages for validate email address.