Regular Expression通常是用來尋找"特定的字串樣式(pattern)",也就是所謂"格式辨認(pattern-matching)"的功能。

他的運算子是 =~ (唸成match) 和 !~ (唸成not match)。

Totui 發表在 痞客邦 留言(0) 人氣()