A library to parse text into bible references in multiple locales.
$ dotnet add package BibleReferenceA library to parse text into bible references in multiple locales.
You can use the BibleReferenceParser static class to parse.
var reference = BibleReferenceParser.Parse("Genesis 1:1-5;2:1-3");
Console.WriteLine(reference ==
new Reference(
BibleBook.Genesis,
ReferenceSegment.MultipleVerses(1, 1, 5),
ReferenceSegment.MultipleVerses(2, 1, 3)
)); // prints true
If you like my work and want to support me, buying me a coffee would be awesome! Thanks for your support!
Mark Ivan Basto • GitHub @MarkIvanDev • Twitter @Rivolvan_Speaks