4

Vim Match problem

view full story
linux-howto

http://www.unix.com – Goodmorning, I've some problem in using regular expression in a VIM syntax configuration file. I've need to match a string as <<< some to match >>> so that it matches only some to match . With standard regular expression i know that for this goal works fine the regex: (?<=<{3}).*(?=>{3}) but in Vim syntax files this doesn't work. I've tested \(?<=<\{3\}\).*\(?=>\{3\}\) or \(\?\<\=<\{3\}\).*\(\?\=>\{3\}\) but nothing, since in this later when I'm opening the file, it turns always the error "E:64 \? follows nothing". I'm sorr (HowTos)