test whether the text from a title rule matches the string for title-while-polymorphed in the 'textmatch' menu */
| 2333 | /* test whether the text from a title rule matches the string for |
| 2334 | title-while-polymorphed in the 'textmatch' menu */ |
| 2335 | staticfn boolean |
| 2336 | noneoftheabove(const char *hl_text) |
| 2337 | { |
| 2338 | if (fuzzymatch(hl_text, "none of the above", "\" -_", TRUE) |
| 2339 | || fuzzymatch(hl_text, "(polymorphed)", "\"()", TRUE) |
| 2340 | || fuzzymatch(hl_text, "none of the above (polymorphed)", |
| 2341 | "\" -_()", TRUE)) |
| 2342 | return TRUE; |
| 2343 | return FALSE; |
| 2344 | } |
| 2345 | |
| 2346 | /* |
| 2347 | * get_hilite |
no test coverage detected