summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-11-09 00:58:20 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-11-09 23:58:53 +0900
commite7e86b68f4e6a27cc071cf48530ad6ae2c0c37bb (patch)
treec51bae6e301421d958211919c7c2cf01a478a3b3 /README.md
parenta89d8995c3a4544851ae3a40b8fb1f1c16f9535e (diff)
Add OR operator
Close #412
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 23841c64..60698363 100644
--- a/README.md
+++ b/README.md
@@ -127,6 +127,14 @@ If you don't prefer fuzzy matching and do not wish to "quote" every word,
start fzf with `-e` or `--exact` option. Note that when `--exact` is set,
`'`-prefix "unquotes" the term.
+A single bar character term acts as an OR operator. For example, the following
+query matches entries that start with `core` and end with either `go`, `rb`,
+or `py`.
+
+```
+^core go$ | rb$ | py$
+```
+
#### Environment variables
- `FZF_DEFAULT_COMMAND`