Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
96527057
Commit
96527057
authored
Mar 23, 2011
by
Per Buer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3.0 string concats + line breaks
parent
3587d1b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
vcl.rst
doc/sphinx/reference/vcl.rst
+4
-5
No files found.
doc/sphinx/reference/vcl.rst
View file @
96527057
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment