2、匹配的两种方法 · =~肯定匹配, !~否定匹配。=~表达式返回匹配到的位置索引,失败返回nil,符号左右内容可交换 · regexp#match(str),返回MatchData,一个数组,从0开始, ...
確定! 回上一頁