sh-mkword-regexpr

sh-mkword-regexpr is a compiled Lisp function in `sh-script.el'.

(sh-mkword-regexpr WORD)

Make a regexp which matches WORD as a word.
This specifically excludes an occurrence of WORD followed by
punctuation characters like '-'.