我正在使用这个例子:
New Zealand cyclist Jack Bauer didn't know it during the Olympic road race, but there was a scantily-clad Kiwi 'snow angel' above him. http://www.stuff.co.nz/sport/olympics/7374497/Near-naked-snow-angel-over-cycle-road-race
我想在<br />
句号之后添加一个标签,但不在 HTTP 链接中。就在句末。
目前我正在使用:
$full_story = $read_story->[0]{story_text};
$full_story =~ s/(\D)\.(\D)/<br \/><br \/>/i;
使用此代码,它添加了<br />
但m
fromhim
正在被删除。
最后结果:
New Zealand cyclist Jack Bauer didn't know it during the Olympic road race, but there was a scantily-clad Kiwi 'snow angel' above him.
http://www.stuff.co.nz/sport/olympics/7374497/Near-naked-snow-angel-over-cycle-road-race
我究竟做错了什么?