|
|
|
|
|
by b-x
1731 days ago
|
|
Maybe a better suited choice for errors than an insulting message: when I provided a query in my native language it regurgitated the error "needs to be a word" instead of more acceptable "not a supported language". When you claim that a word in some other culture is not "a word", just because it's not recognized by your machine, that's demeaning to say the least. |
|
In this case, the code doesn't match the word regexp, like it may be a @TwitterHandle or a "comp.lang.c" with periods in it, or an unsupported Unicode range. It doesn't know why it is not matching, just that it doesn't.