ckparser 0.3.4__tar.gz → 0.3.5__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.
- {ckparser-0.3.4/ckparser.egg-info → ckparser-0.3.5}/PKG-INFO +1 -1
- {ckparser-0.3.4 → ckparser-0.3.5/ckparser.egg-info}/PKG-INFO +1 -1
- {ckparser-0.3.4 → ckparser-0.3.5}/ckparser.py +2 -2
- {ckparser-0.3.4 → ckparser-0.3.5}/pyproject.toml +1 -1
- {ckparser-0.3.4 → ckparser-0.3.5}/LICENSE +0 -0
- {ckparser-0.3.4 → ckparser-0.3.5}/MANIFEST.in +0 -0
- {ckparser-0.3.4 → ckparser-0.3.5}/README.md +0 -0
- {ckparser-0.3.4 → ckparser-0.3.5}/ckparser.egg-info/SOURCES.txt +0 -0
- {ckparser-0.3.4 → ckparser-0.3.5}/ckparser.egg-info/dependency_links.txt +0 -0
- {ckparser-0.3.4 → ckparser-0.3.5}/ckparser.egg-info/entry_points.txt +0 -0
- {ckparser-0.3.4 → ckparser-0.3.5}/ckparser.egg-info/requires.txt +0 -0
- {ckparser-0.3.4 → ckparser-0.3.5}/ckparser.egg-info/top_level.txt +0 -0
- {ckparser-0.3.4 → ckparser-0.3.5}/setup.cfg +0 -0
|
@@ -41,7 +41,7 @@ import re
|
|
|
41
41
|
import time
|
|
42
42
|
|
|
43
43
|
# Script version
|
|
44
|
-
__version__ = "0.3.
|
|
44
|
+
__version__ = "0.3.5"
|
|
45
45
|
|
|
46
46
|
# Logger (because logging is awesome)
|
|
47
47
|
logger = logging.getLogger(__name__)
|
|
@@ -116,7 +116,7 @@ regex_inline = re.compile(r"([^\s\"]+\s*[?!<=>]+\s*(([^@\"]\[?[^\s]+\]?)|(\"[^\"
|
|
|
116
116
|
# Regex to parse blocks with bracket below the key/operator
|
|
117
117
|
regex_block = re.compile(r"(\s*([?!<=>]+)\s+\{)|(\s+\s*([?!<=>])+\s*\{)", re.MULTILINE)
|
|
118
118
|
# Regex to parse lines with format key=value
|
|
119
|
-
regex_line = re.compile(r"\"?(?P<key>[^\s\"]+)\"?\s*(?P<operator>[?!<=>]+)\s*(list\s*)?(?P<value>.*)")
|
|
119
|
+
regex_line = re.compile(r"\"?(?P<key>[^\s\"?!<=>]+)\"?\s*(?P<operator>[?!<=>]+)\s*(list\s*)?(?P<value>.*)")
|
|
120
120
|
# Regex to parse independent items in a list
|
|
121
121
|
regex_item = re.compile(r"(\"[^\"]+\"|[\d\.]+|[^\s]+)")
|
|
122
122
|
# Regex to parse dates
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ckparser"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.5"
|
|
8
8
|
description = "Parse Paradox Jomini data files to Python/JSON and revert them back experimentally."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
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
|