Regular Expression Editor

RW rwmaillists at googlemail.com
Thu Jan 14 23:46:19 UTC 2010


On Thu, 14 Jan 2010 14:24:49 -0500
Carmel <carmel_ny at hotmail.com> wrote:

> On Thu, 14 Jan 2010 10:38:41 -0800
> Randal L. Schwartz <merlyn at stonehenge.com> 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.


More information about the freebsd-questions mailing list