正则表达式(Regular Expressions). 避免使用 $1-9 因为可能难以辨认出是哪一个,取个名。 复制代码. # 错误; /(regexp)/ =~ string ... process $1 ...
確定! 回上一頁