I tried to edit the Score file, adding the followings and hit rescore
but nothing happens

%BOS
%Score created by Pan on Sat Dec 22 07:49:36 2012
[alt.binaries.magic]
Score:: =-9999
Expires: 1/22/2013
From: ^\w+\d+$
%EOS

%BOS
%Score created by Pan on Sat Dec 22 07:49:36 2012
[alt.binaries.magic]
Score:: =-9999
Expires: 1/22/2013
From: ^[a-z]+[0-9]+$
%EOS

On Sat, Dec 22, 2012 at 9:21 AM, Heinrich Müller
<heinrich.muelle...@googlemail.com> wrote:
> Am 22.12.2012 13:51, schrieb Gordon Speedman:
>
>>>> Can you post the regex you used?
>>
>> It's not about the regex, I was unable to use regex as a rule at all.
>>
>> If I open Articles -> Edit Article's Watch/Ignore/Score -> add new
>> rule like "author is john doe" -> add & rescore then this "author is
>> john doe" rule appears in the panel and got scored accordingly.
>>
>> If I add new rule like "author match regex [:alpha:]+" -> add &
>> rescore then the panel is not updated with this rule (ie. still only
>> the "author is john doe" rule)
>>
>>
>> On Sat, Dec 22, 2012 at 5:08 AM, Heinrich Müller
>> <heinrich.muelle...@googlemail.com> wrote:
>>>
>>> Am 22.12.2012 01:17, schrieb Gordon Speedman:
>>>>
>>>> I'm using Pan for windows and I can't add any scoring rules using
>>>> regex at all. Is this feature supported in Windows version? Also what
>>>> favor of regex is supported?
>>>>
>>>> --
>>>> -Godspeed
>>>>
>>>> _______________________________________________
>>>> Pan-users mailing list
>>>> Pan-users@nongnu.org
>>>> https://lists.nongnu.org/mailman/listinfo/pan-users
>>>
>>> Can you post the regex you used?
>>>
>>> _______________________________________________
>>> Pan-users mailing list
>>> Pan-users@nongnu.org
>>> https://lists.nongnu.org/mailman/listinfo/pan-users
>>
>>
>>
>> --
>> -Godspeed
>>
>> _______________________________________________
>> Pan-users mailing list
>> Pan-users@nongnu.org
>> https://lists.nongnu.org/mailman/listinfo/pan-users
>
> Try using [0-9]+ instead.
>
> Does this work?
>
>
> _______________________________________________
> Pan-users mailing list
> Pan-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/pan-users



-- 
-Godspeed

_______________________________________________
Pan-users mailing list
Pan-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pan-users

Reply via email to