[CANTOO] [CANNOT] [CANTOO] [CANNOT] Re: Ship it with Squeak

Bert Freudenberg bert at isgnw.CS.Uni-Magdeburg.De
Thu Jun 29 16:31:12 UTC 2000


On Thu, 29 Jun 2000, Stephan Rudlof wrote:

> A first idea (not tested, and there are som variants of reg ex'es):
> 	grep
> with
> 	^Subject: (\[BUG\])?(\[(FIX|ENH|ADD|ANN|GOOD|HACK|ADDON|ADD-ON)\])+

This looks good and ...

> and then
> 	grep --revertMatch
> with
> 	[RE:|Re:|re]
> .

makes this one unnecessary. I don't care if a re: is in the line, a 
"[FIX] Re: [BUG]" should be accepted, but "Re: [FIX]" not.

I'll try this one:
	^Subject: (\[BUG\])?\[(FIX|ENH|ADD|ANN|GOOD|HACK).*\]

which requires either of FIX|ENH|ADD|ANN|GOOD|HACK to be first on the
line, optionally preceded by [BUG]. 

Thanks!

-- Bert





More information about the Squeak-dev mailing list