diff options
author | Canop <cano.petrole@gmail.com> | 2019-01-30 21:07:53 +0100 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2019-01-30 21:07:53 +0100 |
commit | 3406e42e397bcdba09a7215fa7386c8938d17b94 (patch) | |
tree | 7d39776c8595989445f449ac534c2e22fa69c4d3 /documentation.md | |
parent | 6f80fa3e4dc45328d821eb03c0c8bd58071fe2ff (diff) |
regexes accept 'i' and 'U' flags
Mostly useful to set a regex as case insensitive
Diffstat (limited to 'documentation.md')
-rw-r--r-- | documentation.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/documentation.md b/documentation.md index 10d1d29..4c4f0cb 100644 --- a/documentation.md +++ b/documentation.md @@ -13,6 +13,8 @@ There the pattern is `car` and the verb shortcut is `e`. The pattern filters the tree while you type. It's interpreted in a fuzzy way so that you don't have to type all the letters or even consecutive letters. The best match is automatically selected. +If there's a `/` before or after the patten, it's interpreted as a regular expression. For example `/pat+ern` would match `"patern.zip"` or `"some_patttern.rar"` but not `"pATTern"`. If you want the regex to be case insensitive, add the `i` flag: `pat+ern/i`. + At any moment you can use the arrow keys to move the selection. You can also use the tab key. When you hit `<enter>`: |