Perl语言模式匹配-替换操作符-perl基础教程

时间:2021-04-25 09:01:13
【文件属性】:
文件名称:Perl语言模式匹配-替换操作符-perl基础教程
文件大小:578KB
文件格式:PPT
更新时间:2021-04-25 09:01:13
perl ppt Perl语言模式匹配-替换操作符 语法为s/pattern/replacement/,其效果为将字符串中与pattern匹配的部分换成replacement。 示例:      $string = "abc123def";  $string =~ s/123/456/; # now $string = "abc456def";

网友评论