[ale] regex question

Benjamin Dixon beatle at arches.uga.edu
Wed Jan 16 14:04:17 EST 2002



You can press CTRL and then the control key you want to create. In the 
vi s/// you will see the control character appear. So for ^M, you would
press CTRL-M and you should see it in the substitution.

Ben

On Wed, 16 Jan 2002, Allan Neal wrote:

> I'm receiving daily quotes via a mailing list and some
> characters are messed
> up on occation.  I get some control chars like ^R for
> a ' and ^W for a , and
> space and a ^V for a -.  How, in vi, do you search for
> a control char to
> replace it in a :s/... statement?
> 
> Thanks
> Allan
> 
> 
> =====
> Allan K. Neal
> allankneal at yahoo.com
> http://home.earthlink.net/~akneal/
> 
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.
> 

Today's Random Quote--------------------------------------

 Latin is a language, As dead as can be. First it killed the
Romans, And now it's killing me.

-----------------------------------------------------------


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list