]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
doc: correct syntax for "extended" option setting
authorJustin Viiret <justin.viiret@intel.com>
Mon, 30 May 2016 04:30:43 +0000 (14:30 +1000)
committerMatthew Barr <matthew.barr@intel.com>
Wed, 1 Jun 2016 00:57:10 +0000 (10:57 +1000)
Extended syntax (ignore whitespace) is controlled with (?x) and (?-x).

doc/dev-reference/compilation.rst

index f3723dc9d5c46d609faca0ee335a8a78db640b5e..21254b22d49d432199dfa3d6d6aa4440c388d150 100644 (file)
@@ -124,7 +124,7 @@ The following regex constructs are supported by Hyperscan:
     * Case-sensitivity: :regexp:`(?i)` and :regexp:`(?-i)`
     * Multi-line: :regexp:`(?m)` and :regexp:`(?-m)`
     * Dot-all: :regexp:`(?s)` and :regexp:`(?-s)`
-    * Extended syntax: :regexp:`(?s)` and :regexp:`(?-s)`
+    * Extended syntax: :regexp:`(?x)` and :regexp:`(?-x)`
 
 * The :regexp:`\\b` and :regexp:`\\B` zero-width assertions (word boundary and
   'not word boundary', respectively).