Fixed find_match and find_token due to T_CURLY_OPEN