change order of regex from more specific to least