summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2021-11-01 08:42:26 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2022-01-11 17:05:47 +0100
commit4e4774474cfd3594bead5ceca93aeb9401901397 (patch)
treed436cad5a170f9feeb9c5cdc4fa8d80cfbcd6e45 /README.org
parent1ccf74ffdbb0dd34caa63022e92f947c09c49c86 (diff)
Remove strict initialism code by @noctuid
The function `orderless--separated-by` has also been added by @noctuid. However with the removal of the strict initialism code, the contributions by @noctuid are pushed below the 15 lines limit. The function `orderless--separated-by` has only 11 lines. (cl-defun orderless--separated-by (sep rxs &optional (before "") (after "")) "Return a regexp to match the rx-regexps RXS with SEP in between. If BEFORE is specified, add it to the beginning of the rx sequence. If AFTER is specified, add it to the end of the rx sequence." (rx-to-string `(seq ,before ,@(cl-loop for (sexp . more) on rxs collect `(group ,sexp) when more collect `,sep) ,after)))
Diffstat (limited to 'README.org')
-rw-r--r--README.org16
1 files changed, 0 insertions, 16 deletions
diff --git a/README.org b/README.org
index 2579486..c756beb 100644
--- a/README.org
+++ b/README.org
@@ -144,22 +144,6 @@ define new matching styles. The predefined ones are:
This maps =abc= to =\<a.*\<b.*\c=.
-- orderless-strict-initialism :: like initialism but only allow
- non-letters in between the matched words.
-
- For example =fb= would match =foo-bar= but not =foo-qux-bar=.
-
-- orderless-strict-leading-initialism :: like strict-initialism but
- require the first initial to match the candidate's first word.
-
- For example =bb= would match =bar-baz= but not =foo-bar-baz=.
-
-- orderless-strict-full-initialism :: like strict-initialism but
- require the first initial to match the candidate's first word and the
- last initial to be at the final word.
-
- For example =fbb= would match =foo-bar-baz= but not =foo-bar-baz-qux=.
-
- orderless-flex :: the characters of the component should appear in
that order in the candidate, but not necessarily consecutively.