shell-command-separator-regexp

shell-command-separator-regexp is a variable defined in `shell.el'.
Its value is
"[;&|
 	]*"


Documentation:
Regexp to match a single command within a pipeline.
This is used for directory tracking and does not do a perfect job.

You can customize this variable.