From: Amos Jeffries Date: Sun, 29 May 2011 04:51:42 +0000 (+1200) Subject: Docs: debug info on regex loading X-Git-Tag: take08~55^2~166 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d740b9871d7cd5b6e7770284c3afafa55f2bf2b4;p=thirdparty%2Fsquid.git Docs: debug info on regex loading --- diff --git a/src/acl/RegexData.cc b/src/acl/RegexData.cc index 85ae0e39fd..b52bbfa4ae 100644 --- a/src/acl/RegexData.cc +++ b/src/acl/RegexData.cc @@ -134,8 +134,13 @@ aclParseRegexList(relist **curlist) int errcode; int flags = REG_EXTENDED | REG_NOSUB; + debugs(28,5, HERE << "Regex new line."); + for (Tail = (relist **)curlist; *Tail; Tail = &((*Tail)->next)); while ((t = ConfigParser::strtokFile())) { + + debugs(28,5, HERE << "Regex token: " << t); + if (strcmp(t, "-i") == 0) { flags |= REG_ICASE; continue;