[master] 9652705 3.0 string concats + line breaks
Per Andreas Buer
perbu at varnish-cache.org
Wed Mar 23 18:39:43 CET 2011
commit 96527057e97421b20485d7f0fcdad2763c5c093a
Author: Per Buer <perbu at varnish-software.com>
Date: Wed Mar 23 18:38:37 2011 +0100
3.0 string concats + line breaks
diff --git a/doc/sphinx/reference/vcl.rst b/doc/sphinx/reference/vcl.rst
index 6355913..85553f4 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -35,16 +35,15 @@ Blocks are delimited by curly braces, statements end with semicolons,
and comments may be written as in C, C++ or Perl according to your own
preferences.
-In addition to the C-like assignment (=), comparison (==) and boolean
-(!, && and \|\|) operators, VCL supports regular expression and ACL
-matching using the ~ operator.
+In addition to the C-like assignment (=), comparison (==, !=) and
+boolean (!, && and \|\|) operators, VCL supports both regular
+expression and ACL matching using the ~ and the !~ operators.
Unlike C and Perl, the backslash (\) character has no special meaning
in strings in VCL, so it can be freely used in regular expressions
without doubling.
-Strings are concatenated by putting them one after each other
-with a '+' operator between.
+Strings are concatenated using the '+' operator.
Assignments are introduced with the *set* keyword. There are no
user-defined variables; values can only be assigned to variables
More information about the varnish-commit
mailing list