scripturelookup 0.0.3__tar.gz → 0.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {scripturelookup-0.0.3/src/scripturelookup.egg-info → scripturelookup-0.0.4}/PKG-INFO +1 -1
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/scripturelookup/lookup.py +1 -1
- {scripturelookup-0.0.3 → scripturelookup-0.0.4/src/scripturelookup.egg-info}/PKG-INFO +1 -1
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/.github/workflows/publish.yml +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/.gitignore +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/LICENSE +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/README.md +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/pyproject.toml +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/requirements.txt +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/setup.cfg +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/geezify-python-main/LICENSE +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/geezify-python-main/README.md +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/geezify-python-main/arabify.py +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/geezify-python-main/arabify_test.py +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/geezify-python-main/geezify.py +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/geezify-python-main/geezify_test.py +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/geezify-python-main/test_data.py +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/scripturelookup/__init__.py +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/scripturelookup/command_line.py +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/scripturelookup/data/metadata-languages.min.json +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/scripturelookup/data/metadata-scriptures.min.json +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/scripturelookup/data.py +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/scripturelookup/numbers.py +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/scripturelookup.egg-info/SOURCES.txt +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/scripturelookup.egg-info/dependency_links.txt +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/scripturelookup.egg-info/entry_points.txt +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/scripturelookup.egg-info/requires.txt +0 -0
- {scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/scripturelookup.egg-info/top_level.txt +0 -0
|
@@ -276,7 +276,7 @@ def parse_references_string(input_string, lang = 'en', sort_by = None):
|
|
|
276
276
|
|
|
277
277
|
# Normalize whitespace-separated references. Example: "Genesis 1:2 1 Nephi 3:7" –> "; Genesis 1:2 ; 1 Nephi 3:7"
|
|
278
278
|
scripture_book_names_pattern = '|'.join([re.escape(sbn) for sbn in scripture_book_names_without_commas])
|
|
279
|
-
input_string = re.sub(rf'\b({scripture_book_names_pattern})', r'; \1', input_string, flags=re.IGNORECASE)
|
|
279
|
+
input_string = re.sub(rf'(?:^|[^\-])\b({scripture_book_names_pattern})', r'; \1', input_string, flags=re.IGNORECASE)
|
|
280
280
|
|
|
281
281
|
# Normalize lists and ranges. Example: "Genesis 12:1, 2, and 3; verses 1 and 4; John 2 through 7" –> "Genesis 12:1, 2,,3; verses 1,4; John 2–7"
|
|
282
282
|
input_string = re.sub(r'\s+(?:and|y|e|et|&)\s+(\d+)', r',\1', input_string)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/scripturelookup/data/metadata-languages.min.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/scripturelookup.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{scripturelookup-0.0.3 → scripturelookup-0.0.4}/src/scripturelookup.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|