Generalized regular expression for coreqs, prereqs

Spelling mistakes were messing with results