All pastes #494940 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-18 14:18 UTC
rendered paste body
$str="<a>one</a><a>two</a>";

And my match is:
m/<a>(.*)<\/a>/s

My result for $1 is:
one</a><a>two

How would I get it so it returns just "one"