Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
下午好。
制作了一个过滤器来捕获 IPv4(工作)
failregex = <HOST>
手册指出 HOST 是表达式的别名
(?:::f{4,6}:)?(?P<host>\S+)
问题:如何改变上面的表达式,让它“吃”子网的地址,例如,1.1.1.1/24?
谢谢!