Sqfixes/sqbugs regexp (was: [BUG] Transcript semaphore)
David Farber
dfarber at numenor.com
Thu Oct 11 21:08:53 UTC 2001
ok, i'll take a stab...
*^Subject: (\[BUG\])?\[(FIX|ENH|ADD|GOOD|ANN|HACK).*\]
it think what's missing here is a more generic optional prefix match. right
now, you only match "[BUG]" as a possible prefix to the other tags, but i
think what you really want is to match *any* square bracket pairs (like
"[UNIX VM]"). so, how about:
*^Subject: (\[.*\])*\[(FIX|ENH|ADD|GOOD|ANN|HACK).*\]
just a guess...
david
At 09:26 PM 10/11/01 +0200, you wrote:
>On Thu, 11 Oct 2001, Doug Way wrote:
>
>> Perhaps Request For Implementation [RFI] should be tracked in the Bug
>> Reports Archive as well.
>
>Okay, it's in :-)
>
>Are there some regexp experts (regxperts?) out there who could improve my
>current procmail rules? It still does not grab a subject like
>"[Unix VM] [FIX]" ... The rules currently are:
>
>
> :0 c:
> *^Subject: (\[BUG\])?\[(FIX|ENH|ADD|GOOD|ANN|HACK).*\]
> sqfixes
>
> :0 Ec:
> *^Subject: \[(BUG|RFI)
> sqbugs
>
>
>-- Bert
>
>
>
>
--
David Farber
dfarber at numenor.com
More information about the Squeak-dev
mailing list
|