On 2021-10-01 at 13:16:12 UTC-0400 (Fri, 1 Oct 2021 14:16:12 -0300)
SysAdmin EM <[email protected]>
is rumored to have said:

> I am going to ask an additional question, is the syntax of pcre similar to 
> regexp? because I will have to modify many rules.

PCRE is an acronym for "Perl Compatible Regular Expressions" which is ALMOST an 
accurate name for a RE library that can be used instead of the standard POSIX. 
Its syntax is almost identical to the (POSIX-defined) regexp. You probably do 
not need to modify any of your existing rules, unless you use named classes and 
backreferences or depend on quirks of the POSIX regexp specification.

If your system has a full pcre installation, it should include man pages for 
pcrecompat, pcresyntax, and pcrepattern(3) which detail the PCRE syntax and its 
variances from true Perl RE. The POSIX syntax used in Postfix regexp tables is 
detailed in re_format(7)

-- 
Bill Cole
[email protected] or [email protected]
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire

Reply via email to