diff options
author | Ben Sima <ben@bsima.me> | 2021-11-30 12:55:32 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-11-30 12:55:32 -0500 |
commit | 1f9d834d429cfed3708262090074da955e7f3f81 (patch) | |
tree | c3b6fb8a17e5b0208e9d2b48e501cdb45857e980 /domain | |
parent | e239a5db0f28bd2cf7c92e2f65373ef6a156c3a2 (diff) |
ignore case
Diffstat (limited to 'domain')
-rwxr-xr-x | domain | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ for tld in args.tlds: res = subprocess.run(["whois", domain], stdout=subprocess.PIPE).stdout.decode( "utf-8" ) - if re.search(regex, res): + if re.search(regex, res, re.IGNORECASE): print("ok:", domain) else: print("no:", domain) |