Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL ' where columnName not regexp '*'' clause doesn't work. #887

Closed
zyh12 opened this issue Oct 28, 2019 · 2 comments
Closed

MySQL ' where columnName not regexp '*'' clause doesn't work. #887

zyh12 opened this issue Oct 28, 2019 · 2 comments

Comments

@zyh12
Copy link

zyh12 commented Oct 28, 2019

It throws 'Encountered unexpected token: not' exception when parsing this clause. I tried v1.4, v2.1, v3.0, but nothing helped.

@wumpz
Copy link
Member

wumpz commented Oct 28, 2019

Please provide a complete test sql.

@zyh12
Copy link
Author

zyh12 commented Oct 29, 2019

Please provide a complete test sql.

select * from t_test where c_test not regexp '[0-9]{18}|[0-9]{17}X|[0-9]{15}';

@wumpz wumpz closed this as completed in 74aab7c Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants