Work around current syntax table for symbol names.

Replace `\sw` with `(\sw|\s_)`. Particularly in emacs regex notation,
this does not help readability. If/when the `\w` class is updated in
the syntax table, this commit can be reverted.