           (save-current-buffer
             (set-buffer vimgolf-work-buffer)
             (goto-char (point-min))
-            (search-forward "    \n  type: input" nil t)
+            (re-search-forward data-end-regexp nil t)
             (delete-region (match-beginning 0) (point-max))
             (decrease-left-margin (point-min) (point-max) 4)
             (goto-char (point-min))
             (vimgolf-mode t))
-          (search-forward "data: |+\n" nil t)
+          (re-search-forward data-start-regexp nil t)
           (append-to-buffer vimgolf-end-buffer (point) (point-max))
           (save-current-buffer
             (set-buffer vimgolf-end-buffer)
             (goto-char (point-min))
-            (search-forward "    \n  type: output")
+            (re-search-forward data-end-regexp)
             (delete-region (match-beginning 0) (point-max))
             (decrease-left-margin (point-min) (point-max) 4)
             (goto-char (point-min))

          (save-current-buffer
            (set-buffer vimgolf-start-buffer)
            (goto-char (point-min))
            (search-forward "    \n  type: input" nil t)
            (delete-region (match-beginning 0) (point-max))
            (decrease-left-margin (point-min) (point-max) 4)
            (goto-char (point-min))

(defvar vimgolf-host "http://vimgolf.com/")

;; (setq vimgolf-host "http://vimgolf.local:8888/")
;; (setq vimgolf-host "http://vimgolf.com/")
;; Overall VimGolf Rank ID: 4d2fb20e63b08b08b0000075
;; Sort entries based on date ID: 4ea9bc988b36f70001000008

(defvar vimgolf-challenge-extension ".yaml")

