* implement respective to shell-dumb-shell-regexp