pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regex question - Re: [Pan-users] ANN: Pan 0.14.2


From: Wolf J. Flywheel
Subject: Re: Regex question - Re: [Pan-users] ANN: Pan 0.14.2
Date: Mon, 1 Sep 2003 22:44:30 -0400
User-agent: KMail/1.5.2

On Monday 01 September 2003 15:05, Christophe Lambin wrote:

        [In reply to a note I accidentally sent privately, instead of to this 
list...]

> Wolf J. Flywheel [01/09/03 09:13 -0400]:
> >     Give "man 7 regex" (POSIX 1003.2 regular expressions) a look, then;
> > you'll find those and other strange-looking things.  :)  That's where
> > I had been getting my information, so far.  Looking at grep, it seems
> > I can do \< and \> to accomplish what I want.  Grep goes as far as
> > [[:alnum:]] and friends, but stops short of [[:<:]].
>
> Ah yes, but the same man page also states:
>
>        This is an extension, compatible with but
>        not specified by POSIX 1003.2, and should be used with caution
> in software intended to be portable to other systems.

        True indeed, and that's even the same paragraph that contains the weird 
things I was trying to use.  I should have read a little bit further.  :)  
BTW, I thank you and the rest of the Pan team for making Pan complain in 
the log about bad regexes -- this makes it much easier to find when I've 
goofed than just silently ignoring them!

> >     Does Pan support "perl-compatible regular expressions" (man pcre) in
> > filters and score files?
>
> No: see above. Pan only supports POSIX ERE's.

        Good enough.  I shall endeavor to remember this.

Many thanks,

-- 
// Carl Hudkins :: Jabber address@hidden :: PGP 50238D9E
//
// "German beer is chemical-free / Germany's all right with me!"
//                                --"Why Aye Man", Mark Knopfler

Attachment: pgpeHPOoKnMaE.pgp
Description: signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]