I have no idea what's going on here. You're searching for... matching parentheses? Why? Why didn't you just amend the regular expression?