On Thu, Aug 05, 2010 at 12:29:38AM -0700, Darren Duncan wrote: > Carl Mäsak wrote: > >Darren (>): > >>Read what I said again. I was proposing that the namespace comprised of > >>names matching a pattern like this: > >> > >> /^ <[A..Z]>+ | <[a..z]>+ $/ > > > >/^ [<[A..Z]>+ | <[a..z]>+] $/ > > Are the square brackets necessary when the pattern doesn't contain > anything other than the alternatives?
In this case yes -- the original pattern without the square brackets would act like: / [^ <[A..Z]>+] | [<[a..z]>+ $] / In other words, the original pattern says "starting with uppercase or ending with lowercase". Pm