Commit 3ec74a3a authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

doc: Format OCD

Better diff with the --word-diff --ignore-all-space options.
parent 5a99d056
...@@ -84,9 +84,9 @@ Strings ...@@ -84,9 +84,9 @@ Strings
Basic strings are enclosed in double quotes ``"``\ *...*\ ``"``, and Basic strings are enclosed in double quotes ``"``\ *...*\ ``"``, and
may not contain newlines. Long strings are enclosed in may not contain newlines. Long strings are enclosed in
``{"``\ *...*\ ``"}`` or ``"""``\ *...*\ ``"""``. They may contain any character including single ``{"``\ *...*\ ``"}`` or ``"""``\ *...*\ ``"""``. They may contain any
double quotes ``"``, newline and other control characters except for the character including single double quotes ``"``, newline and other control
*NUL* (0x00) character. characters except for the *NUL* (0x00) character.
Booleans Booleans
~~~~~~~~ ~~~~~~~~
...@@ -511,9 +511,9 @@ ban(STRING) ...@@ -511,9 +511,9 @@ ban(STRING)
Either a literal string or a regular expression. Note that Either a literal string or a regular expression. Note that
*<arg>* does not use any of the string delimiters like ``"`` or *<arg>* does not use any of the string delimiters like ``"`` or
``{"``\ *...*\ ``"}`` or ``"""``\ *...*\ ``"""`` used elsewhere in varnish. To match ``{"``\ *...*\ ``"}`` or ``"""``\ *...*\ ``"""`` used elsewhere
against strings containing whitespace, regular expressions in varnish. To match against strings containing whitespace,
containing ``\s`` can be used. regular expressions containing ``\s`` can be used.
* for duration fields: * for duration fields:
......
...@@ -23,10 +23,10 @@ to do the "count-the-backslashes" polka:: ...@@ -23,10 +23,10 @@ to do the "count-the-backslashes" polka::
regsub("barf", "(b)(a)(r)(f)", "\4\3\2p") -> "frap" regsub("barf", "(b)(a)(r)(f)", "\4\3\2p") -> "frap"
Long strings are enclosed in {" ... "} or """ ... """. They may contain any character Long strings are enclosed in {" ... "} or """ ... """. They may contain
including ", newline and other control characters except for the NUL any character including ", newline and other control characters except
(0x00) character. If you really want NUL characters in a string there for the NUL (0x00) character. If you really want NUL characters in a
is a VMOD that makes it possible to create such strings. string there is a VMOD that makes it possible to create such strings.
.. _vcl_syntax_acl: .. _vcl_syntax_acl:
......
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