regsub and regexp usage in tcl

 

 so in order to reg () in tcl; we needs to use regexp -- {\(\)} $express

                or use: regsub -- "\\(\\)" $express 

 https://stackoverflow.com/questions/14237376/how-to-use-regexp-to-match-a-parentheses-in-tcl

posted @ 2021-08-10 14:08  John_K  阅读(100)  评论(0编辑  收藏  举报