Reindl Harald wrote:
> schrieb Dave Funk:
> > 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

Reindl, Please play nice.  Dave was exactly correct and friendly with
his response to you.  Liberty, tolerance and respect are not zero sum
concepts.  (Stealing the excellent phrase from Judge Robert Hinkle.)

As Dave said, SpamAssassin is written in Perl not PHP.  The *Perl*
docs are the ones you should reference not the PHP docs.

  http://perldoc.perl.org/perlre.html

The reason @ needs to be escaped is because in Perl "@array" is a
string containing an array variable that expands to an array value.
To be a literal at sign in the string it needs "\@array" and that is
the Perl syntax.

  http://perldoc.perl.org/perldata.html

Bob

Reply via email to