mirror of
https://github.com/scopatz/nanorc
synced 2024-12-28 16:04:53 +01:00
Merge pull request #44 from stiemannkj1/master
Fixes #43: html.nanorc yellow regex is greedy and matches all quotes until the final quote.
This commit is contained in:
commit
44d0c55b36
|
@ -3,5 +3,5 @@
|
|||
syntax "html" "\.htm[l]?$"
|
||||
color brightblue start="<" end=">"
|
||||
color red "&[^;[[:space:]]]*;"
|
||||
color yellow "".*"|qq\|.*\|"
|
||||
color red "(alt|bgcolor|height|href|label|longdesc|name|onclick|onfocus|onload|onmouseover|size|span|src|style|target|type|value|width)="
|
||||
color yellow ""[^"]*"|qq\|.*\|"
|
||||
color red "(alt|bgcolor|height|href|label|longdesc|name|onclick|onfocus|onload|onmouseover|size|span|src|style|target|type|value|width)="
|
||||
|
|
Loading…
Reference in New Issue
Block a user