diff --git a/app/src/main/java/net/bible/service/sword/SwordContentFacade.kt b/app/src/main/java/net/bible/service/sword/SwordContentFacade.kt index 3ecc160f6d..2aa577bd3a 100644 --- a/app/src/main/java/net/bible/service/sword/SwordContentFacade.kt +++ b/app/src/main/java/net/bible/service/sword/SwordContentFacade.kt @@ -111,7 +111,7 @@ object SwordContentFacade { // Avoid possible bible references when separating sentences. - private val splitMatch = Regex("""((\D\s+|^)[\w'"’”]+[.,!?]\s+)(\D)""") + private val splitMatch = Regex("""((\D\s+|^)\w+['"’”]?[.,!?]['"’”]?\s+)(\D)""") fun splitSentences(text: String): List { val matches = splitMatch.findAll(text) val pieces = mutableListOf()