On Thu, Mar 22, 2012 at 08:53:09AM -0500, /dev/rob0 wrote: > if /\@(example\.com|(other|third)\.example)$/ > ... your LHS stuff ... > endif > > (Escaping of the \@ is necessary in PCRE but not POSIX RE.)
It is not necessary in PCRE either. One only needs to escape @ in
Perl code, but not in PCRE expressions used outside of Perl. Of course
PCRE is compatible with Perl, so one *may* escape @ if one wants to.
--
Viktor.
