字符串匹配

a = 'string'

a =~ /^str/

 

a =~ /str/

posted on 2014-04-10 16:11  qinyan20  阅读(130)  评论(0编辑  收藏  举报