add dot into pattern of attributes

Fixes #436
This commit is contained in:
Yasuhiro Matsumoto
2018-11-09 15:42:39 +09:00
parent 63c98d801b
commit 88ecfac350

View File

@@ -6,7 +6,7 @@ let s:mx = '\([+>]\|[<^]\+\)\{-}'
\ .'\%('
\ .'\%(#{[{}a-zA-Z0-9_\-\$]\+\|#[a-zA-Z0-9_\-\$]\+\)'
\ .'\|\%(\[\%(\[[^\]]*\]\|"[^"]*"\|[^"\[\]]*\)\+\]\)'
\ .'\|\%(\.{[{}a-zA-Z0-9_\-\$]\+\|\.[a-zA-Z0-9_\-\$]\+\)'
\ .'\|\%(\.{[{}a-zA-Z0-9_\-\$\.]\+\|\.[a-zA-Z0-9_\-\$]\+\)'
\ .'\)*'
\ .'\)'
\ .'\%(\(' . s:bx . '\+\)\)\{0,1}'