Replies: 2 comments 1 reply
-
使用的正则表达式是进行日期格式校验的,yyyy-MM-dd
|
Beta Was this translation helpful? Give feedback.
0 replies
-
maybe the problem is |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
doris 版本 【select verison() 】 5.1.0
字段使用 not regexp 匹配时,返回
> 1064 - errCode = 2, detailMessage = Invalid regex expression^(?:(?!0000)[0-9]{4}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)-02-29)$
该正则表达式在 MySQL 8.0.25 可以正确解析,匹配结果。
请问,Doris在正则表达式上有特殊什么限制吗?
Beta Was this translation helpful? Give feedback.
All reactions