Are you sure you want to be matching \s+ in the parantheses? \s+ is matching whitespace and I assume at this point you want to match numbers where \d+ might be more appropriate.
That's at least one issue with the code snippet you might like to look at..
Bukowski - aka Dan (dcs@black.hole-in-the.net)
"Coffee for the mind, Pizza for the body, Sushi for the soul"
-Userfriendly