mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 19:00:27 +01:00
Made etc-hosts path regex match more strict.
This got me in a lot of trouble with a file path containing /vhosts/ so made it more strict.
This commit is contained in:
parent
1aa64a86cf
commit
1fd3bb55f0
|
@ -1,5 +1,5 @@
|
||||||
## Make /etc/hosts nicer to read, see `man hosts 5` to see the format
|
## Make /etc/hosts nicer to read, see `man hosts 5` to see the format
|
||||||
syntax "/etc/hosts" "hosts"
|
syntax "/etc/hosts" "^/etc/hosts$"
|
||||||
|
|
||||||
# IPv4
|
# IPv4
|
||||||
color yellow "^[0-9\.]+\s"
|
color yellow "^[0-9\.]+\s"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user