xpdf has been orphaned in debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848631
I use xpdf, so I'd like to help fix it. Maybe eventually help to maintain it.
This bug says that the "whole word" search feature in xpdf doesn't work. I can reproduce on xpdf version 3.04-3 in Stretch. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743631
This bug is affected by
GBool TextPage::findText() function, I think. There's a debian patch
poppler-findtext.patch which changes a lot of calls to findText() from having a
gFalse value to using the
wholeWord value which is set by the checkbox in the find dialog box. This smells fishy to me. Then on line 3771 in
xpdf/TextOutputDev.cc there's a conditional check of
!wholeword || (other things) which without the debian patch always would just evaluate to True but now that the wholeWord value is actually being passed in, it sometimes doesn't...
There's a git repo on Alioth for xpdf: https://anonscm.debian.org/cgit/col