Stoll, Steven R. wrote:
(p(ost)?[.\s]*o(ffice)?[.\s]*box)
po(b|x|drawer|stoffice|[ ]bx|box)
p[\/]o
b(x|ox|uzon)
a(partado|ptdo)
Which matches:
(p(ost)?.*o(ffice)?.*box)
post(anynumberofanythingexceptnewline)office(anynumberofanythingexceptnewlin
e)box
'[.\s]*' matches any number of periods or whitespace characters, since
'.' is not special inside a character class. It's not the same as '.*'.
Also, even if '.' were special, '\s' matches newline along with other
whitespace characters.
--
Keith C. Ivey <[EMAIL PROTECTED]>
Washington, DC