python安全工具开发应用01正则表达式

01正则表达式         什么是:单个字符串来描述匹配以一列符合某个语法规则的字符串 实例:来对IP地址进行匹配 a标签 通过re模块提供对正则表达式的支持: > pattern=re.compile('hello') >> match=pattern.match('hello world') >>> print (match.group()) hello 可以合并为word=re.find
相关文章
相关标签/搜索