Why doesn't this regex statement work?

PHP Code:
/UPDATE (.+) SET\((.+)\) WHERE (.+) (LIMIT(.+))?/ 
with a statement without the words LIMIT followed by a number at the end?