optimizeSelection: add --signal-regexp option