summaryrefslogtreecommitdiff
path: root/helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'helpers.py')
-rw-r--r--helpers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/helpers.py b/helpers.py
index a6c4de2..11a13ca 100644
--- a/helpers.py
+++ b/helpers.py
@@ -43,6 +43,7 @@ _LICENSE_RE = re.compile(
'('+'|'.join(_LICENSE_URLS.keys())+')' + ' ([0-9.]+)'
)
+
@dataclass
class LicenseInfo:
tag: str
@@ -103,6 +104,7 @@ class Concert:
def _optional(line):
return f'(?:{line})?'
+
_CONCERT_LINES = (
r'QUAND : (?P<time>[^\n]+)\n',
r'O[UÙ] : (?P<place>[^\n]+)\n',