I had the same problem before, seems to be a bug? cause if there is a space before the )' like enum('a','b','c' )', it will work.
anyway, here is the solution for you:
$setList = preg_replace("/enum(\'([\S]+)\')/","\1", $enumStr);
check preg_replace for more detail about this function, it's magic!