You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Evan Platt <ev...@espphotography.com> on 2006/10/29 17:49:12 UTC

Matches null string many times in regex?

Seeing the below error quite frequently...

Oct 29 08:47:06 espphotography spamd[12945]: (?:(?<=[\s,]))* matches 
null string many times in regex; marked by <-- HERE in 
m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at 
/opt/local/lib/perl5/5.8.7/Text/Wrap.pm line 46.\n


Line 46 of Wrap.pm is

while ($t !~ /\G(?:$break)*\Z/gc) {


Any hints or ideas?

Thanks.

Evan


Re: Matches null string many times in regex?

Posted by Theo Van Dinter <fe...@apache.org>.
On Sun, Oct 29, 2006 at 08:49:12AM -0800, Evan Platt wrote:
> Oct 29 08:47:06 espphotography spamd[12945]: (?:(?<=[\s,]))* matches 
> null string many times in regex; marked by <-- HERE in 
[...]
> Any hints or ideas?

This has come up enough on the list that I made a FAQ entry on the wiki for
it:

http://wiki.apache.org/spamassassin/TextWrapError

-- 
Randomly Selected Tagline:
Hier, j'ai achet� une Tour Eiffel en plastique.