[Top][All Lists]

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

replacement in string

From: alruccaba
Subject: replacement in string
Date: Tue, 03 Jun 2008 08:58:00 +0200
User-agent: freenetMail

Hallo everyone,
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")
  replace-match("\\" nil nil "/" nil)
  replace-regexp-in-string("/" "\\" "a / b")
  eval((replace-regexp-in-string "/" "\\" "a / b"))
  eval-expression((replace-regexp-in-string "/" "\\" "a / b") nil)

Unbegrenzter Speicher, Top-Spamschutz, 120 SMS und eigene E-MailDomain inkl.

reply via email to

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