expansion mapping efficiency: only apply one regex to check if there is any expansions possible at all