From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8956812abe51c0fe7669680d4d907d9a@vitanuova.com> To: 9fans@cse.psu.edu From: rog@vitanuova.com In-Reply-To: <1ce82796010ca1336dfae191b74ebb33@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] sam command language Date: Mon, 6 Oct 2003 13:52:43 +0100 Topicbox-Message-UUID: 62199bc8-eacc-11e9-9e20-41e7f4b1d025 > > (there are a couple of annoying little things i still haven't > > worked out a good way of doing though) > > if they're annoying, don't do them. they're annoying *because* i can't do them! for instance, suppose i've got a little sam expression that nicely isolates particular subregions of text. i can't work out a way to match only characters which appear at the very beginning (or end) of "dot". kind of similar to ^ and $ except with respect to the boundaries of the current selection. e.g. here's an expression that matches mbox entries in an acme Mail window (tab replaced by \t): ,x/.+\n(\t.+\n)*/y/^\(deleted\)-/g/./ it would be useful to be able to guard by message number on the resulting message lines (without worrying about the contents of the subject line).