|
@@ -168,6 +168,9 @@ of `COMPLEMENT|INTERVAL` enables the `COMPLEMENT` and `INTERVAL` operators.
|
|
|
`ALL` (Default)::
|
|
|
Enables all optional operators.
|
|
|
|
|
|
+`""` (empty string)::
|
|
|
+Alias for the `ALL` value.
|
|
|
+
|
|
|
`COMPLEMENT`::
|
|
|
+
|
|
|
--
|
|
@@ -179,6 +182,21 @@ a~bc # matches 'adc' and 'aec' but not 'abc'
|
|
|
....
|
|
|
--
|
|
|
|
|
|
+`EMPTY`::
|
|
|
++
|
|
|
+--
|
|
|
+Enables the `#` (empty language) operator. The `#` operator doesn't match any
|
|
|
+string, not even an empty string.
|
|
|
+
|
|
|
+If you create regular expressions by programmatically combining values, you can
|
|
|
+pass `#` to specify "no string." This lets you avoid accidentally matching empty
|
|
|
+strings or other unwanted strings. For example:
|
|
|
+
|
|
|
+....
|
|
|
+#|abc # matches 'abc' but nothing else, not even an empty string
|
|
|
+....
|
|
|
+--
|
|
|
+
|
|
|
`INTERVAL`::
|
|
|
+
|
|
|
--
|
|
@@ -216,6 +234,9 @@ You can combine the `@` operator with `&` and `~` operators to create an
|
|
|
....
|
|
|
--
|
|
|
|
|
|
+`NONE`::
|
|
|
+Disables all optional operators.
|
|
|
+
|
|
|
[discrete]
|
|
|
[[regexp-unsupported-operators]]
|
|
|
=== Unsupported operators
|