RE: Pattern questions

2006-05-23 Thread Zdenek Sekera
> -Original Message- > From: Yakov Lerner [mailto:[EMAIL PROTECTED] > Sent: 23 May 2006 11:37 > To: Zdenek Sekera; vim mailing list > Subject: Re: Pattern questions > > On 5/23/06, Zdenek Sekera <[EMAIL PROTECTED]> wrote: > > I have this: > > >

Re: Pattern questions

2006-05-23 Thread Yakov Lerner
On 5/23/06, Zdenek Sekera <[EMAIL PROTECTED]> wrote: I have this: if (char =~ '\m[;|<>?:[EMAIL PROTECTED]&*(){}\\_+-[\]/\"]') do something endif Basically it is checking for all non-alphanumeric chars (expect '='). 1. how do I include the "'" char?. I can't seem to find a proper way.