On Thu, 14 Jan 2010 14:24:49 -0500 Carmel <[email protected]> wrote:
> On Thu, 14 Jan 2010 10:38:41 -0800 > Randal L. Schwartz <[email protected]> replied: > > >You need to be specific about the kind of regex. While most regexp > >engines have common things like . and * and ^ and $, the meanings may > >vary a bit, and the more exotic things are certainly going to vary. > > > >(For example, despite the name, "Perl Compatible [sic] Regular > >Expressions" are *not* Perl compatible.) > > > >What tool are you using your regexes with? > > OK, I was using RegExp Buddy <http://www.regexbuddy.com/> on a Windows > machine. I would like to find something similar to it for a FreeBSD > environment. The expressions I create are used primarily with 'sieve' > in conjunction with Dovecot. I am also thinking of possibly creating a > few for use with Postfix. > Try this http://www.fastmail.fm/docs/sieve/sievetest.php It's based on Cyrus but AFAIK they both use the libc regex implementation. Sieve is a little odd in that you need double escaping In general I think most people would use command line tools to test expressions. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
