Subject: Re: vi and backslashes
To: None <current-users@sun-lamp.cs.berkeley.edu,>
From: None <mycroft@gnu.ai.mit.edu>
List: current-users
Date: 03/03/1994 16:20:46
This is a bug in ex_substitute. If an escape character precedes a
delimiter, it puts it in the pattern, when really it needs to count
delimiters and do the power-of-2 thang to properly unescape it. For
now, you can:
:%s/\\\(.\)/\/\1/g
I'll send a patch off to the author of nvi for approval.
------------------------------------------------------------------------------