summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorOmar Antolín <omar.antolin@gmail.com>2021-03-23 09:43:56 -0600
committerOmar Antolín <omar.antolin@gmail.com>2021-03-23 09:43:56 -0600
commita609004d5fc3d2755545069187b6362e7a92d017 (patch)
tree9fd673c25cf8f27dab0222a704e3b00b0ef0dac7 /README.org
parent237ee002acb3d1211d621a38eed42a4d200e0cef (diff)
Document that orderless-regexp matches invalid regexps literally
Diffstat (limited to 'README.org')
-rw-r--r--README.org8
1 files changed, 6 insertions, 2 deletions
diff --git a/README.org b/README.org
index 50a1ba5..ef881b1 100644
--- a/README.org
+++ b/README.org
@@ -100,8 +100,12 @@ define new matching styles. The predefined ones are:
- orderless-regexp :: the component is treated as a regexp that must
match somewhere in the candidate.
- This is simply the identity function!
-
+ If the component is not a valid regexp, it matches literally.
+ (Having the component be invalid is actually pretty common while you
+ are typing, so be prepared for the results to be a little funny
+ before you close a bracket or parentheses, etc.)
+
+
- orderless-literal :: the component is treated as a literal string
that must occur in the candidate.