Date: Thu, 14 Jan 2010 23:45:59 +0000 From: RW <rwmaillists@googlemail.com> To: freebsd-questions@freebsd.org Subject: Re: Regular Expression Editor Message-ID: <20100114234559.2aaed7fc@gumby.homeunix.com> In-Reply-To: <BLU0-SMTP78C48F3BB9D14DBAF3C88B936A0@phx.gbl> References: <BLU0-SMTP87607E292253E8D30ADD68936A0@phx.gbl> <866374fs5q.fsf@blue.stonehenge.com> <BLU0-SMTP78C48F3BB9D14DBAF3C88B936A0@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Jan 2010 14:24:49 -0500 Carmel <carmel_ny@hotmail.com> wrote: > On Thu, 14 Jan 2010 10:38:41 -0800 > Randal L. Schwartz <merlyn@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100114234559.2aaed7fc>