grab all the pattern matchers from the emacs script