Commit 96527057 authored by Per Buer's avatar Per Buer

3.0 string concats + line breaks

parent 3587d1b2
...@@ -35,16 +35,15 @@ Blocks are delimited by curly braces, statements end with semicolons, ...@@ -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 and comments may be written as in C, C++ or Perl according to your own
preferences. preferences.
In addition to the C-like assignment (=), comparison (==) and boolean In addition to the C-like assignment (=), comparison (==, !=) and
(!, && and \|\|) operators, VCL supports regular expression and ACL boolean (!, && and \|\|) operators, VCL supports both regular
matching using the ~ operator. expression and ACL matching using the ~ and the !~ operators.
Unlike C and Perl, the backslash (\) character has no special meaning Unlike C and Perl, the backslash (\) character has no special meaning
in strings in VCL, so it can be freely used in regular expressions in strings in VCL, so it can be freely used in regular expressions
without doubling. without doubling.
Strings are concatenated by putting them one after each other Strings are concatenated using the '+' operator.
with a '+' operator between.
Assignments are introduced with the *set* keyword. There are no Assignments are introduced with the *set* keyword. There are no
user-defined variables; values can only be assigned to variables user-defined variables; values can only be assigned to variables
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment