Unmatched ) in regex