来自regexp的MySQL无效重复计数

时间:2017-11-29 01:11:17

标签: mysql sql

我遇到的问题是我在MySQL上运行的包含一些正则表达式的查询,这里是:SELECT * FROM dump WHERE Hours REGEXP '^\d{337}1{8}'

当我单独测试我的正则表达式时,它工作正常,这里有一些匹配的示例数据:

000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111100000000

知道失败的地方吗?

0 个答案:

没有答案