jdee/dubsar

some search characters not handled well

Closed this issue · 1 comments

jdee commented

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 commented

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.