From: Jim Bartlett Date: 2002-09-08T01:02:06+09:00 Subject: Re: SciTE/VIM Syntax highlighting In article , "Reimer Behrends" wrote: >Use one of the following alternatives: > > aPhrase.scan %r/\w[-\w']+/ > aPhrase.scan(/\w[-\w']+/) > > Either of them should make syntax highlighting work with Vim (don't know > about SciTE). The general problem is that it is non-trivial to > distinguish between / as the first character of a regular expression and > / as the division operator simply from local context. Therefore, a > heuristic is needed. And obviously, any heuristic will sometimes be > wrong. > > [...] > > Reimer Behrends That worked like a charm. Thanks for your help. Jim.