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
3ec74a3a
Commit
3ec74a3a
authored
Nov 24, 2020
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: Format OCD
Better diff with the --word-diff --ignore-all-space options.
parent
5a99d056
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
vcl.rst
doc/sphinx/reference/vcl.rst
+6
-6
vcl-syntax.rst
doc/sphinx/users-guide/vcl-syntax.rst
+4
-4
No files found.
doc/sphinx/reference/vcl.rst
View file @
3ec74a3a
...
...
@@ -84,9 +84,9 @@ Strings
Basic strings are enclosed in double quotes ``"``\ *...*\ ``"``, and
may not contain newlines. Long strings are enclosed in
``{"``\ *...*\ ``"}`` or ``"""``\ *...*\ ``"""``. They may contain any
character including single
double quotes ``"``, newline and other control characters except for the
*NUL* (0x00) character.
``{"``\ *...*\ ``"}`` or ``"""``\ *...*\ ``"""``. They may contain any
character including single double quotes ``"``, newline and other control
characters except for the
*NUL* (0x00) character.
Booleans
~~~~~~~~
...
...
@@ -511,9 +511,9 @@ ban(STRING)
Either a literal string or a regular expression. Note that
*<arg>* does not use any of the string delimiters like ``"`` or
``{"``\ *...*\ ``"}`` or ``"""``\ *...*\ ``"""`` used elsewhere
in varnish. To match
against strings containing whitespace, regular expressions
containing ``\s`` can be used.
``{"``\ *...*\ ``"}`` or ``"""``\ *...*\ ``"""`` used elsewhere
in varnish. To match against strings containing whitespace,
regular expressions
containing ``\s`` can be used.
* for duration fields:
...
...
doc/sphinx/users-guide/vcl-syntax.rst
View file @
3ec74a3a
...
...
@@ -23,10 +23,10 @@ to do the "count-the-backslashes" polka::
regsub("barf", "(b)(a)(r)(f)", "\4\3\2p") -> "frap"
Long strings are enclosed in {" ... "} or """ ... """. They may contain
any character
including ", newline and other control characters except for the NUL
(0x00) character. If you really want NUL characters in a string there
is a VMOD that makes it possible to create such strings.
Long strings are enclosed in {" ... "} or """ ... """. They may contain
any character including ", newline and other control characters except
for the NUL (0x00) character. If you really want NUL characters in a
string there
is a VMOD that makes it possible to create such strings.
.. _vcl_syntax_acl:
...
...
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