Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
None
-
None
-
mariadb 11.7.2-1
linux 6.13.5.arch1-1
Description
create table t ( |
tt varchar(3000) not null, |
CHECK(tt REGEXP '^[a-z]+\.[a-z]+$') |
);
|
allows both 'exe.com' and 'exe:com'
the second string shouldn't match the pattern so there is most likely a but in your regex engine
probably the error is that \. isn't seen as a dot but the wildcard that match any single character