concrete5/concrete5 — pull request #1799 by nebuleu (2014-06-19 16:36:33+00:00)
Title: Fix regex when Content Helper import() replace multiple links in the same line

I'm working a lot with CIF XML format to import contents from our old CMS into c5 automatically.
In this context, I was facing a strange problem where some links disappears in the page content after the import of the XML CIF file.

After some investigation I discovered that the regex used in the Content Helper import() was too greedies and truncate the content.
The problem is raised if the content imported has more than one link on the **same line** with the {ccm:export: ... } synthax.
The result is a loss of content in the lines concerned.

This little patch seems to fix the problem for me.