Re: [exim] rewriting + ${sg} + $h_stuff magic

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tony Finch
Datum:  
To: Arkadiusz Miskiewicz
CC: exim-users
Betreff: Re: [exim] rewriting + ${sg} + $h_stuff magic
On Fri, 16 Dec 2005, Arkadiusz Miskiewicz wrote:
>
> "${sg{$h_HTTP-Posting-URI:}{\N([a-zA-Z0-9-.]+\N):(.+)}{\$1}}" F


If you put " around a string expansion, you need to double the \ because
of the extra layer of escaping. Since you don't have any spaces in the
above expansion, you can instead delete the " and leave the \ single.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}