I just realized dired define the variable 'dired-re-mark' to match any mark. Using it in `dired-marker-regexp'.