[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
backrefs in regexps?
From: |
martin f krafft |
Subject: |
backrefs in regexps? |
Date: |
Tue, 19 Oct 2004 05:26:05 +0200 |
User-agent: |
Mutt/1.5.6+20040907i |
Hi all, I am new to cfengine and thus, this may be a really dumb
question. However, I went through the docs and I could not find the
solution, honestly.
I am trying to use editfiles/ReplaceAll and backreference into the
search pattern, conceptually like so:
ReplaceAll "foo(.*)bar" With "bar$1foo"
However, the $1 is replaced literally. Is there a way to do what
I want/need?
Thanks,
--
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!
spamtraps: madduck.bogus@madduck.net
"the human brain is like an enormous fish --
it is flat and slimy
and has gills through which it can see."
-- monty python
signature.asc
Description: Digital signature
- backrefs in regexps?,
martin f krafft <=