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.
    (I'd like to keep the patter in enclosed in '...')

let pat='[;|<>?:[EMAIL PROTECTED]&*(){}\\_+-[\]/\"'."'".']'

Yakov

Reply via email to