refactor(controller): move app regex to settings