[sword-devel] Need help tracking down a bug in the API...
Greg Hellings
greg.hellings at gmail.com
Wed Dec 19 08:26:38 MST 2012
We might get better information on what is happening by passing each
of the noted references to the verserangeparse command line example
from the engine:
Passing in "1Ti2:6f" gives 1 Timothy 2:6-7.
"1Ti2:6ff" gives 1 Timothy 2:6-15.
"Ga1:1,11f" gives Galatians 1:1 and 1:11-12.
The engine appears to handle these references correctly.
--Greg
On Wed, Dec 19, 2012 at 9:03 AM, David Haslam <dfhmch at googlemail.com> wrote:
> These analysis statistics might give further clues for investigation.
>
> For module RWP, in the output of mod2imp, ...
>
> There are 22159 matches to "</scripRef>" in total.
>
> There are 736 matches to the exact pattern "f.</scripRef>".
> btw. The same number as when matched even without the "f".
>
> cf. There are 21117 matches to regexp "(\d+)</scripRef>"
>
> There are 304 matches to regexp "[a-z]</scripRef>"
> of which 299 match exactly to "f</scripRef>"
> among which 40 match exactly to "ff</scripRef>"
>
> btw. By my reckoning, this leaves 2 patterns yet to account for.
> 22159 - 21117 - 736 - 304 = 2
>
> David
>
>
>
>
>
> --
> View this message in context: http://sword-dev.350566.n4.nabble.com/Need-help-tracking-down-a-bug-in-the-API-tp4651439p4651446.html
> Sent from the SWORD Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel
mailing list