ivor 当前离线
上校
re.sub(r"[a-z]{2}","[\g<0>]","ab,cd,gf,jh,ht,kh")复制代码
re.sub(r'([a-z]{2})',r'[\1]',"ab,cd,gf,jh,ht,kh")复制代码
TOP