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

some search characters not handled well #27

Closed
jdee opened this issue Dec 27, 2010 · 1 comment
Closed

some search characters not handled well #27

jdee opened this issue Dec 27, 2010 · 1 comment
Labels

Comments

@jdee
Copy link
Owner

jdee commented Dec 27, 2010

Add a period to the end of a search, e.g. http://dubsar-dictionary.com?term=jurisprudence. That generates an unfriendly error. Other characters probably do the same.

@jdee
Copy link
Owner Author

jdee commented Dec 27, 2010

This was caused by treating these things as regular expressions. That's only appropriate as an optimization when doing a case-insensitive match against a literal. Search terms that contain additional characters like the period and square brackets cannot take advantage of this optimization.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant