"^\s*print\s*([^# \r\n]+)(\s*#.*)$" "print(\1)\2" "^\s*print\s*([^# \r\n]+)(\s*)$" "print(\1)\2"