0

I'm having an issue with a query I'm running on MySQL that contains some regex, here it is: SELECT * FROM dump WHERE Hours REGEXP '^\d{337}1{8}'

When I test my regex separately it's working fine, here's some sample data that it matches with:

000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111100000000

Any idea where it fails?

Gordon Linoff
  • 1,198,228
  • 53
  • 572
  • 709
Naguib Ihab
  • 3,829
  • 7
  • 34
  • 73

0 Answers0