http://qs1969.pair.com?node_id=767798


in reply to Non Greedy?

Should

/\[{(.*)?}\](.+)/

not be

/\[{(.*?)}\](.+)/

With the question mark inside the brackets?