* Gary Johnson <[EMAIL PROTECTED]> [2002-04-18 03:04]: > On Thu, Apr 18, 2002 at 04:14:18AM +0200, Sven Guckes wrote: > > How do you limit to subjects in CAPS only, > > ie containing not a single lowercase letter? > > caveat: the subjects may have other characters - > > but all the letters are uppercase. > I've used this as a search pattern in the pager > to highlight newsletter section headings: > "/\^[A-Z0-9][A-Z0-9 [:punct:]]*$^M" > > So you could probably adapt it for your > subject search. Maybe this (untried): > ~s "\^[A-Z0-9 [:punct:]]+$"
sorry, no. the subject line may have a LOT of other characters - much more than just letters and punctuation. hmm... '^' and '$' do work? ~s '^[^a-z]+$' YES! :-) > > Sven [04:14am *yawn*] > Just going to bed or just getting up? "guess" ;-) Sven [05:15am zzzZZZ]