Open kienmarkdo opened 6 months ago
Domain regex: r"\b(?:a-zA-Z0-9?.)+[a-zA-Z]{2,}(?<!.)\b" Thinks "and.And" is a valid domain name.
IPv4 regex: r"\b(?:\d{1,3}.){3}\d{1,3}\b" Does not think "118.99.81.204118.99.81.204" or "Transparent212.119.97.198" contain IPv4 addresses.
Originally posted by @kienmarkdo in https://github.com/kienmarkdo/Telegram-OSINT-and-Graph-Based-Analysis-of-Criminal-Activity/issues/13#issuecomment-1982432546
Solution for IPv4 regex
\b
^
Domain regex: r"\b(?:a-zA-Z0-9?.)+[a-zA-Z]{2,}(?<!.)\b" Thinks "and.And" is a valid domain name.
IPv4 regex: r"\b(?:\d{1,3}.){3}\d{1,3}\b" Does not think "118.99.81.204118.99.81.204" or "Transparent212.119.97.198" contain IPv4 addresses.
Originally posted by @kienmarkdo in https://github.com/kienmarkdo/Telegram-OSINT-and-Graph-Based-Analysis-of-Criminal-Activity/issues/13#issuecomment-1982432546