]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Add basic regex config unit tests
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 27 Jul 2015 12:50:53 +0000 (05:50 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 27 Jul 2015 12:50:53 +0000 (05:50 -0700)
test-suite/squidconf/regex [new file with mode: 0644]

diff --git a/test-suite/squidconf/regex b/test-suite/squidconf/regex
new file mode 100644 (file)
index 0000000..3eca26e
--- /dev/null
@@ -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]+)?