Skip to main content

Module regkit

Module regkit 

Source

Functions§

find_all
查找所有匹配项
find_all_groups
查找所有匹配项的分组集合
find_first
查找第一个匹配项
find_groups
提取第一个匹配项的所有分组(不包含整个匹配)
is_match
判断字符串是否匹配指定正则
replace_all
替换所有匹配项
replace_first
替换第一个匹配项