trigger: evaluate regex replacement on execution of trigger (and not when creating the trigger)