forked from kubapok/kleister-nda-clone
remove test code
This commit is contained in:
parent
99d7fabb68
commit
2e75563025
1
main.py
1
main.py
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user