Escape command before interpolating in Regexp