Variable: shell-command-separator-regexp

shell-command-separator-regexp is a customizable variable defined in shell.el.gz.

Value

"[;&|\n     ]*"

Documentation

Regexp to match a single command within a pipeline.

This is used for directory tracking and does not do a perfect job.

Source Code

;; Defined in /usr/src/emacs/lisp/shell.el.gz
(defcustom shell-command-separator-regexp "[;&|\n \t]*"
  "Regexp to match a single command within a pipeline.
This is used for directory tracking and does not do a perfect job."
  :type 'regexp
  :group 'shell)