Edited PROG pattern to allow for parentheses and spaces