Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

Commit

Permalink
fix with upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
maarten-boot committed Nov 2, 2023
2 parents c6def54 + e62cd3e commit 7703e5a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion whois/tldDb/tld_regexpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,6 @@ def xStr(what: str, times: int = 1, firstMandatory: bool = True) -> str:
"registrar": R(r"\nREGISTRAR:\s*(.+)\n"),
"creation_date": R(r"\ncreated:\s*(.+)\n"),
"updated_date": R(r"\nlast modified:\s*(.+)\n"),
# "expiration_date": R(r"\noption expiration date:\s*(.+)\n"),
# If no "option expiration date:" is present, use "renewal date:", but only
# if it's not not followed by "option expiration date:". google.pl is the test case here
"expiration_date": R(r"(?:\noption expiration date:|renewal date:(?!(?:.|\n)*\noption expiration date:))\s*(.+)\n"),
Expand Down

0 comments on commit 7703e5a

Please sign in to comment.