diff: fix function name context detection (issue6965)...
diff: fix function name context detection (issue6965)
Rather than looking for a leading _alphanumeric_ character, we look
for a leading _alphabetic_ character, or underscore, or dollar sign
(for historical raison) -- this matches various other diff tools
including GNU diffutils, libxdiff, and git.
Fixes:
https://bz.mercurial-scm.org/show_bug.cgi?id=6965