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

Case sensitive #3

Open
zongyaoou opened this issue Jan 22, 2018 · 1 comment
Open

Case sensitive #3

zongyaoou opened this issue Jan 22, 2018 · 1 comment

Comments

@zongyaoou
Copy link

Thanks for your code , it helps me a lot .
Since I'm not familiar with C# , I don't konw how to set the case sensitive off .
Could you please help me ?
Thanks!

@DevNambi
Copy link
Owner

That's a great question. At the moment there isn't a way to turn off case sensitivity in the sql-server-regex; it's an option flag to Regex.Match() in C#, but there isn't a way to pass that option in to the function.

There's a workaround available by including both lowercase and uppercase in the regular expression itself. https://stackoverflow.com/questions/9655164/regex-ignore-case-sensitivity describes that a little bit.

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