输入banner图图片脚本导航/分类

php的正则中结束符$问题

正则php

$str= 'abc
def
ijk' ;
preg_match('/f$/m',$str,$arr);
为什么没有结果呢?修正符m不是把字符串看做多行吗