Skip to content

Commit de39a99

Browse files
Add vertical pipe and bullet as reference separators
1 parent 2bfe8db commit de39a99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripturelookup/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def normalize_for_compare(text):
5555
normalized_key = normalize_for_compare(key)
5656
scriptures['mapToSlugNormalized'][normalized_key] = value
5757

58-
reference_separators_pattern = r'|'.join([re.escape(s.strip()) for s in scriptures['summary']['punctuation']['referenceSeparator']] + [re.escape(';'), re.escape('\n')])
58+
reference_separators_pattern = r'|'.join([re.escape(s.strip()) for s in scriptures['summary']['punctuation']['referenceSeparator']] + [re.escape(';'), re.escape('|'), re.escape('•'), re.escape('\n')])
5959
chapter_verse_separators_pattern = r'|'.join([re.escape(s.strip()) for s in scriptures['summary']['punctuation']['chapterVerseSeparator']] + [re.escape(':')])
6060
verse_group_separators_pattern = r'|'.join([re.escape(s.strip()) for s in scriptures['summary']['punctuation']['verseGroupSeparator']] + [re.escape(',')])
6161
verse_range_separators_pattern = r'|'.join([re.escape(s.strip()) for s in scriptures['summary']['punctuation']['verseRangeSeparator']] + [re.escape('-'), re.escape('–'), re.escape('〜')])

0 commit comments

Comments
 (0)