help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Re: replacement in string


From: alruccaba
Subject: Re: Re: replacement in string
Date: Tue, 03 Jun 2008 13:53:28 +0200
User-agent: freenetMail

Yes, I already quoted the letter, please see below. Your quotation works but it 
produces an "a \ b" and not "a  b" what I intended to. I am struggeling with 
the commands (shell-command "command "c:/Dokumente und Einstellungen/.."")  I 
hope this works anyway in this case. Very Thanks.

----- original Nachricht --------

Betreff: Re: replacement in string
Gesendet: Di 03 Jun 2008 09:41:00 CEST
Von: "Ralf Angeli"<dev.null@caeruleus.net>

> * alruccaba@justmail.de (2008-06-03) writes:
> 
> > have an idea why this is it not working?:
> > replace-regexp-in-string "/" "\" "a / b")
> > I just want to replace every "/" through an "".
> > Debugger entered--Lisp error: (error "Invalid use of `\' in replacement
> text")
> 
> You have to quote the backslash:
> (replace-regexp-in-string "/" "\\" "a / b")
> 
> -- 
> Ralf
> 

--- original Nachricht Ende ----




Unbegrenzter Speicher, Top-Spamschutz, 120 SMS und eigene E-MailDomain inkl.
http://office.freenet.de/dienste/emailoffice/produktuebersicht/power/mail/index.html





reply via email to

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