In article <slrnanj25f.gtd.behrends / ellington.cse.msu.edu>, "Reimer Behrends" <behrends / cse.msu.edu> 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.