From: Adam Dickmeiss Date: Fri, 28 Sep 2001 14:50:23 +0000 (+0000) Subject: Simpleelement allows upper case (as well as lower case). X-Git-Tag: YAZ.1.8~39 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=c227960392ad224178f1ab16f02207717dbe3d1b;p=yaz-moved-to-github.git Simpleelement allows upper case (as well as lower case). --- diff --git a/retrieval/d1_espec.c b/retrieval/d1_espec.c index 4b0ee90..d9a8d70 100644 --- a/retrieval/d1_espec.c +++ b/retrieval/d1_espec.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: d1_espec.c,v $ - * Revision 1.18 1999-11-30 13:47:12 adam + * Revision 1.19 2001-09-28 14:50:23 adam + * Simpleelement allows upper case (as well as lower case). + * + * Revision 1.18 1999/11/30 13:47:12 adam * Improved installation. Moved header files to include/yaz. * * Revision 1.17 1999/10/21 12:06:29 adam @@ -216,7 +219,7 @@ static Z_ETagUnit *read_tagunit(char *buf, NMEM nmem, else u->u.wildThing = read_occurrences(0, nmem, file, lineno); } - else if ((terms = sscanf(buf, "(%d,%[^)]):%[a-z0-9+]", &type, value, + else if ((terms = sscanf(buf, "(%d,%[^)]):%[a-zA-Z0-9+]", &type, value, occ)) >= 2) { int numval;