summaryrefslogtreecommitdiffstats
path: root/vendor/regex/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/regex/src/lib.rs')
-rw-r--r--vendor/regex/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/regex/src/lib.rs b/vendor/regex/src/lib.rs
index 3e3b0a007..6b95739c5 100644
--- a/vendor/regex/src/lib.rs
+++ b/vendor/regex/src/lib.rs
@@ -353,6 +353,9 @@ $ the end of text (or end-of-line with multi-line mode)
\B not a Unicode word boundary
</pre>
+The empty regex is valid and matches the empty string. For example, the empty
+regex matches `abc` at positions `0`, `1`, `2` and `3`.
+
## Grouping and flags
<pre class="rust">