remove regex from shell handlers