tcl 正则匹配与替换
摘要:regexp,第一个赋值的变量str1表示匹配的大的{}内的内容, 第二个变量str2表示匹配的第一个()的内容,第三个变量str3表示匹配第二个()的内容 ()外的+表示重复1个或多个前面()的内容 swith 与 regexp 一起配合,进行开关匹配 regsub:通过 {([a-z)+]} 匹
阅读全文
posted @ 2020-04-30 10:57
posted @ 2020-04-30 10:57
posted @ 2020-04-26 16:57
posted @ 2020-04-16 16:03
posted @ 2020-04-09 16:57
posted @ 2020-04-09 16:40