Sqfixes/sqbugs regexp (was: [BUG] Transcript semaphore)

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Sun Oct 14 20:09:08 UTC 2001


On Fri, 12 Oct 2001, David Farber wrote:

>    *^Subject: (\[[^\]]*\][ ]*)*\[(FIX|ENH|ADD|GOOD|ANN|HACK).*\]

I wondered why this does not work as expected, and learned something:
The regex(7) man page states "To include a literal `]' in the list, make
it the first character." So my regexps are going to be this now:

        :0 c:
        *^Subject: (\[[^]]+\] *)*\[(FIX|ENH|ADD|GOOD|ANN|HACK).*\]
        sqfixes

        :0 Ec:
        *^Subject: (\[[^]]+\] *)*\[(BUG|RFI).*\]
        sqbugs

Let's see if this catches everything ...

-- Bert





More information about the Squeak-dev mailing list