[sword-devel] Strong's search does not return result if Strong's number in text points to different parts of a verse
contact at tklein.info
Tue Jul 14 16:09:12 EDT 2020
The Strong's search does not return results if the Strong's numbers in the text point to a part of a verse.
This should actually yield 15 results (according to Blue Letter Bible).
One example result is John 20:25. The source text in NASB contains this:
<w class="strong:G5179b">the imprint</w>
Another example is Acts 7:44. The source text in NASB contains this:
<w class="strong:G5179b">to the pattern</w>
In both examples the Strong's id contains a character (b) at the end and that's what the search is not able to handle.
This is how I’m setting up the search flags in this case:
// from swmodule.h api docs:
// for use with entryAttrib search type to match whole entry to value
flags |= SEARCHFLAG_MATCHWHOLEENTRY;
searchTerm = "Word//Lemma./" + searchTerm;
Is this a bug?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sword-devel