update readme

This commit is contained in:
Peter Bartyik 2020-09-03 13:15:54 +02:00
parent e53c48cc93
commit 1cddde2844

View File

@ -167,8 +167,9 @@ Add extra patterns to match. This parameter can have multiple instances.
For example:
```
set -g @thumbs-regexp-1 '[a-z]+@[a-z]+.com' # Match emails
set -g @thumbs-regexp-2 '[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}:' # Match MAC addresses
set -g @thumbs-regexp-1 [a-z]+@[a-z]+.com # Match emails
set -g @thumbs-regexp-2 [a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}: # Match MAC addresses
set -g @thumbs-regexp-3 Vlan\\d+ # match Vlan interface on network devices
```
### @thumbs-command