fixed syntax error in regex