remove test code

This commit is contained in:
Norbert Litkowski 2021-04-27 23:21:21 +02:00
parent 99d7fabb68
commit 2e75563025

View File

@ -74,7 +74,6 @@ def get_jurisdiction(text: str):
m = re.search( m = re.search(
r"laws? of the (?:(?:State of)|(?:Commonwealth of)) ([A-Z][a-z]+(?: [A-Z][a-z]+)?).+(?:(?: and)|[,.])", text) r"laws? of the (?:(?:State of)|(?:Commonwealth of)) ([A-Z][a-z]+(?: [A-Z][a-z]+)?).+(?:(?: and)|[,.])", text)
if m is not None: if m is not None:
print(m.group(1))
res = m.group(1).strip().replace(" ", "_") res = m.group(1).strip().replace(" ", "_")
return res return res