* Mikko Hänninen ([EMAIL PROTECTED]) [991111 18:39]:
> > set alternates='^([EMAIL PROTECTED]|[EMAIL PROTECTED])$"
> BTW, aren't the .'s in the regexp supposed to be escaped, if you want
> them to match just a dot?  Admittedly in most cases it doesn't make much
> difference in the $alternates setting, as hp.com will match the string
> "hp.com" (as well as "hpXcom", but that's unlikely to ever be seen).

Yes and yes.  ;-)

But imagine the impact on some "alternates".  Example:

old:  set 
alternates=(sven|guckes)(-[a-z]*)?@.*(\\.fu-berlin.de|slrn.org|vim.org|gmx.net|gmx.de|usa.net|guckes.net)|[EMAIL PROTECTED]
new:  set 
alternates=(sven|guckes)(-[a-z]*)?@.*(\\.fu-berlin\\.de|slrn\\.org|vim\\.org|gmx\\.net|gmx\\.de|usa\\.net|guckes\\.net)|kraut@kens\\.com

16 more backslashes - eek!

Sven

Reply via email to