Mastering Regular Expressions and File InputOutput in TCL
Determineswhethertheregularexpressionexpmatchespartorallofstringandreturns1ifitdoes,0ifitdoesn't,unless-inlineisspecified(seebelow).,基本概念:regexp把匹配整个正规表达式的子字符串赋给第一个变量;然后在匹配整个正则表达式的子字符串中匹配正规表达式...。參考影片的文章的如下: