Happy new year
[idzebra-moved-to-github.git] / dict / lookgrep.c
index b0ad4ac..2cb945f 100644 (file)
@@ -1,8 +1,5 @@
-/* $Id: lookgrep.c,v 1.34 2007-01-15 15:10:15 adam Exp $
-   Copyright (C) 1995-2007
-   Index Data ApS
-
-This file is part of the Zebra server.
+/* This file is part of the Zebra server.
+   Copyright (C) 1994-2009 Index Data
 
 Zebra is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -390,6 +387,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++)
     {