STEPBible/step

Allow n-dash as well as hyphens in refs such as Matt.1.1–2.

Opened this issue · 0 comments

Someone emailed that they wanted to search for a bunch of refs from an electronic book, so they pasted into the search bar:

Matt. 1:21; Luke 1:17; Rom. 9:25–26; 2 Cor. 6:16–18; Gal. 3:29; Titus 2:14; Heb. 8:8–10; James 1:1, 18; 1 Pet. 2:9; Rev. 21:3, 12

This didn't work because one or more ref was problematic. Then they typed in:

Matt. 1:21; Luke 1:17; Rom. 9:25-26; 2 Cor. 6:16-18; Gal. 3:29; Titus 2:14; Heb. 8:8-10; James 1:1, 18; 1 Pet. 2:9; Rev. 21:3, 12

This worked fine, because the n-dash (–) was replaced by a hyphen (-) in the 3 places it occurs.
I've often has this problem, but simply replace the n-dashes. HOwever, unless you know about the issue, it is really annoying.
Seeing as not many Bible software programs allow this kind of thing, we should make the most of it.