put all regexes with their corresponding functions