Fixed regex in view-manager.