文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>《TCL 教程英文版》 笔记 §18 简单的模式匹配..

《TCL 教程英文版》 笔记 §18 简单的模式匹配..

时间:2008-08-26  来源:oychw

§18   简单的模式匹配- "globbing"

       Globbing和多数shell相同: *,?,\X, [...]

 

举例:

# Matches
string match f* foo
 
# Matches
string match f?? foo
 
# Doesn't match
string match f foo
 
# Returns a big list of files on my Debian system.
set bins [glob /usr/bin/*]
    
相关阅读 更多 +
排行榜 更多 +
随大同

随大同

冒险解谜 下载
弯曲路径:无尽奔跑

弯曲路径:无尽奔跑

休闲益智 下载
工艺融合对战

工艺融合对战

策略塔防 下载