Radical lexers (was: Test with different lexers)

Tom Anderson tanderso at oac-design.com
Wed Dec 10 15:30:11 CET 2003


On Wed, 2003-12-10 at 08:51, Boris 'pi' Piwinger wrote:
> And even more extreme. Tokens are explicitely: [[:alnum:]]+

How about a d) test where tokens are explicitely [^[:blank:]]+, or in
other words, anything not a space.

> c) is really mind-blowing. This simply MUST NOT work.

That is a surprise to some extent, but remember that the current regex
is pretty restrictive already.  Making it just a little more restrictive
probably won't apply to most tokens anyway.  Now, making it completely
unrestrictive is another story...

Tom

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.bogofilter.org/pipermail/bogofilter/attachments/20031210/318fbe46/attachment.sig>


More information about the Bogofilter mailing list