On Thu, Jun 01, 2006 at 05:05:00AM -0600, Eric Arnold wrote:
> Sorry if I've got brain lock on this, but is it possible to match a
> substring like
>
> match wildmenu ;\(directory\)\{3,};
>
> such that it will match three or more substring chars of the pattern
> to match "dir" as well as "directory"? (I know the above format isn't
> this.) I know I could do it if I could use an expression, but syntax
> highlighting doesn't allow that, so I'm wondering if I can do it with
> regex alone.
Do you mean like /\<dir\%[ectory]/ ?
:help /\%[]
HTH --Benji Fisher