From: Amos Jeffries Date: Mon, 27 Jul 2015 12:50:53 +0000 (-0700) Subject: Add basic regex config unit tests X-Git-Tag: merge-candidate-3-v1~24^2~2^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fddecfbd7cbdc56843a46b07f970ed8d00e909c4;p=thirdparty%2Fsquid.git Add basic regex config unit tests --- diff --git a/test-suite/squidconf/regex b/test-suite/squidconf/regex new file mode 100644 index 0000000000..3eca26e204 --- /dev/null +++ b/test-suite/squidconf/regex @@ -0,0 +1,20 @@ +## Copyright (C) 1996-2015 The Squid Software Foundation and contributors +## +## Squid software is distributed under GPLv2+ license and includes +## contributions from numerous individuals and organizations. +## Please see the COPYING and CONTRIBUTORS files for details. +## + +# +# This file contains the list of regular expression syntaxes used +# it covers various uses of: +# unoptimized multi-line patterns +# +# Some other regression related patterns are tested in regressions-3.4.0.1 +# + +acl G dstdom_regex \.g...l\.com$ +acl G dstdom_regex \.g...le\.com$ + +acl B browser ^Mozilla +acl B browser ^Java/[0-9]+(\.[0-9]+)?