package bible import "regexp" // Shared citation-normalisation regexes used by the book table (normalizeSigla) // and the Ordinary Form reference renumbering (OFRef). The niedziela.pl Polish // citation converter that once lived here (ToEnglishRef) was removed with the // scraper: readings are now authored in English-canonical form. var ( iRe = regexp.MustCompile(`\s+i\s+`) dashRe = regexp.MustCompile(`\s*[-–—]\s*`) verseLetterRe = regexp.MustCompile(`(\d)[a-c]\b`) bookDotRe = regexp.MustCompile(`(\p{L})\.`) // abbreviation dot after a letter ("Cor." -> "Cor") digitsRe = regexp.MustCompile(`\d+`) )