200903262317Ruby - Chapter 14 常規表達式(Regexp) ... 樣式比對運算: =~ (匹配) 與!~ (不匹配),成功傳回匹配位置的整數,不成功傳回nil。 /pattern/ =~ 字串因為字串也 ...
確定! 回上一頁