Must the regexps and transformations be applied in a specific order for it to work correctly?

I would like the functions and their use to be sorted in the same order.