Have you tried this pattern? [^a-z] Joel
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. > > note: > a pattern containing only > lowercase letters default > to checking uppercase > letters, too. > > so this does not work: > ! ~s [a-z] > > and it does not help making > at least one uppercase > letter a requirement: > ~s [A-Z] ! ~s [a-z] > > ideas? > > Sven [04:14am *yawn*]