Handle right-trucation for ICU normalized terms.
[idzebra-moved-to-github.git] / dict / lookgrep.c
index b0ad4ac..b3de2af 100644 (file)
@@ -390,6 +390,8 @@ int dict_lookup_grep(Dict dict, const char *pattern, int range, void *client,
     dfa_verbose = 1;
 #endif
 
+    dfa_anyset_includes_nl(dfa);
+
     yaz_log(YLOG_DEBUG, "dict_lookup_grep range=%d", range);
     for (i = 0; pattern[i]; i++)
     {