DM Smith <[EMAIL PROTECTED]> writes:
> I have references of the form:
> Obad 2
...
> Is this a bug?
> If not how should I work around it?

I don't think it's exactly a bug, but one could argue that Sword's
parsing should handle the three 1-chapter books (Obadiah, Philemon,
Jude) as special cases in the obvious way.  Yet I worry that such
handling might cause secondary bugs elsewhere.  How do such refs fit
into e.g. range specifications?  Say, if someone wants to reference a
range such as "Jude 1-Rev 2".  Maybe it wouldn't be a problem, but I
worry about corner cases a lot.

Some of my scripts try just to detect such refs syntactically, and
prefix "1:" onto the verse.  It's ugly (you've seen what I do with
sed) and not entirely successful (regexp use can be rather rough) and
possibly suffers from exactly the range problem.

_______________________________________________
sword-devel mailing list: [email protected]
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to