mirror of
https://github.com/FliegendeWurst/tmux-thumbs.git
synced 2024-11-09 16:00:35 +00:00
Fix email regex
This commit is contained in:
parent
5fdab4dbc1
commit
ae91d5f7c0
@ -181,7 +181,7 @@ Add extra patterns to match. This parameter can have multiple instances.
|
|||||||
For example:
|
For example:
|
||||||
|
|
||||||
```
|
```
|
||||||
set -g @thumbs-regexp-1 '[a-z]+@[a-z]+.com' # Match emails
|
set -g @thumbs-regexp-1 '[\w-\.]+@([\w-]+\.)+[\w-]{2,4}' # 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-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
|
set -g @thumbs-regexp-3 'Vlan\d+' # match Vlan interface on network devices
|
||||||
set -g @thumbs-regexp-4 "Vlan\\d+" # alternative method of defining regexp
|
set -g @thumbs-regexp-4 "Vlan\\d+" # alternative method of defining regexp
|
||||||
|
Loading…
Reference in New Issue
Block a user