When using bash's extended globbing constructs such as @(...), +(...),
!(...), *(...) in case patterns, sh-mode gets confused and indentation
no longer works properly.
For example:
case $foo in
@(bar|quux))
<-- TAB brings the cursor here
<-- ...whereas I would have expected it to be here
[...]
The indentation continues to be off for the remainder of the file,
i.e. after the ;; and terminating `esac'.
This is a largish annoyance for me when working with bash-completion,
which currently uses these constructs quite a bit in case patterns, and
more is on the way.