vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] replace multiple chars (used to work)


From: Thomas Dickey
Subject: Re: [vile] replace multiple chars (used to work)
Date: Tue, 1 Mar 2011 17:04:52 -0500 (EST)

On Tue, 1 Mar 2011, hymie! wrote:


Greetings.  Long-time vile user.

As recently as version 9.7, I could use the construct
<number> r <character>
to replace a string of characters with a matching number of a single
character.

For example,  given the string
hymie!
the command 5r- would change it to
-----!

Starting with 9.8 , the string of characters is replaced with a single
character, so the string
hymie!
becomes
-!

Is this a bug or an intentional change?  If it's intentional, is there
a way to replicate the older behavior?

It looks like a bug (probably introduced as a side-effect of changes
I was making to handle multi-byte characters).  I'll isolate it and fix.

thanks

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]