Variable: org-not-done-regexp
org-not-done-regexp is a buffer-local variable defined in org.el.gz.
Documentation
Matches any of the TODO state keywords except the last one.
Since TODO keywords are case-sensitive, case-fold-search is
expected to be bound to nil when matching against this regexp.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defvar-local org-not-done-regexp nil
"Matches any of the TODO state keywords except the last one.
Since TODO keywords are case-sensitive, `case-fold-search' is
expected to be bound to nil when matching against this regexp.")