summaryrefslogtreecommitdiff
path: root/orderless.texi
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 /orderless.texi
parent237ee002acb3d1211d621a38eed42a4d200e0cef (diff)
Document that orderless-regexp matches invalid regexps literally
Diffstat (limited to 'orderless.texi')
-rw-r--r--orderless.texi8
1 files changed, 7 insertions, 1 deletions
diff --git a/orderless.texi b/orderless.texi
index 4591e50..ce882c3 100644
--- a/orderless.texi
+++ b/orderless.texi
@@ -131,8 +131,14 @@ define new matching styles. The predefined ones are:
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.)
+@end table
+
+@table @asis
@item orderless-literal
the component is treated as a literal string
that must occur in the candidate.