[sword-devel] Strong's search does not return result if Strong's number in text points to different parts of a verse
Tobias Klein
contact at tklein.info
Tue Jul 14 16:09:12 EDT 2020
Hi all,
The Strong's search does not return results if the Strong's numbers in the text point to a part of a verse.
Example: G5179
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?
Best regards,
Tobias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20200714/3f342a5e/attachment.html>
More information about the sword-devel
mailing list