[TriLUG] Regular Expression Help
Tarus Balog
tarus at blast.com
Mon Dec 29 12:36:56 EST 2003
On Dec 29, 2003, at 9:22 AM, Dan Monjar wrote:
> --On Wednesday, December 24, 2003 02:06:55 PM -0500 Nathan Conrad
> <conrad at bungled.net> wrote:
>
>> By default, postfix's prce (perl-compatible regular expressions) are
>> case-insensitive. In order to make them case sensitive, add an i flag
>> to the end:
>
> I think you have that backwards... the 'i' operator makes the searches
> case-insensitive.
Actually, it appears to be a toggle:
# Format is /regexp/flags or /regexp/flags!/regexp/flags
# where regexp is a regular expression as found in regexp(5), and flags
are
# i: toggle ignore case (REG_ICASE - default is to ignore case)
Since the default is "ignore", I assume the /i toggle would be
"enforce".
-T
________________________________________________________________________
___
Tarus Balog Main: +1 919 545 2553
Blast Internet Services, Inc. Fax: +1 919 542 5955
Email: tarus at blast.com URL: http://www2.blast.com/tarus
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481 512B FECA 11D2 FD82 B45C
More information about the TriLUG
mailing list