Am 04.01.2015 um 00:55 schrieb Dave Funk:
On Sat, 3 Jan 2015, Reindl Harald wrote:

by writing some custom rules like below i found out that @ needs to be
esacped additionally to http://php.net/manual/de/function.preg-quote.php

are there other chars which needs special handling?

header    CUST_MANY_SPAM_TO  X-Local-Envelope-To =~
/^(\<h\.reindl\@thelounge\.net\>)$/i
score     CUST_MANY_SPAM_TO  -4.0
describe  CUST_MANY_SPAM_TO  Custom Scoring

Umm, SA is written in Perl, not PHP. So you should look at Perl
regex documentation, not PHP docs

so what - @ is not a to escape char in whatever language and hence SA specific and it don't matter in what language SA is written if you write a *backend* in PHP - guess what "preg" means even if you are too lazy to click on the link -> "Perl Compatible Regular Expressions (PCRE)"

so do me a favor: if you don't have a answer leave me in peace because i am tired of answers with no content at all

http://php.net/manual/en/ref.pcre.php


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to