compprog.el: Fix _ being treated as an identifier separator

Not sure why but it looks like the parsing code stopped considering _ as a word constituent.  Stop relying on \\w and just use an explicit character class.