Hi, Yakov Lerner wrote: > > Let's say I want to match : or ; or what \s matches (blank). > Can somehow I use \s (\a,\w etc) inside brackets ? > [\s:;] seems to treat \s as \ and s , separately. > Is there any trick that allows to use \s inside brackets, something > shorter than the \([;:]\|\s\) ?
not exactly shorter, but probably faster: /[[:space:];] Look for ":help /[]" and scroll down about 30 lines. Regards, Jürgen -- Jürgen Krämer Softwareentwicklung HABEL GmbH & Co. KG mailto:[EMAIL PROTECTED] Hinteres Öschle 2 Tel: +49 / 74 61 / 93 53 - 15 78604 Rietheim-Weilheim Fax: +49 / 74 61 / 93 53 - 99
