Make sure we can handle numbers and spaces in book names like 1 Peter, etc.

This commit is contained in:
Leonard Smith 2021-05-01 16:45:49 -05:00
parent ce0aff6472
commit 66c26bdfa3
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ class UlbXmlImportHandler
protected function parseVerseNumber(DOMElement $verseElem) : int
{
$string = $verseElem->getAttribute('name');
preg_match("|^[A-Za-z1-3]*\s*[0-9]*:([0-9]*)$|", $string, $matches);
preg_match("|^[A-Za-z1-3 ]*\s*[0-9]*:([0-9]*)$|", $string, $matches);
return $matches[1];
}