Regex working in php 7.4 but not with mariadb 10.3.38 (though both use pcre)
I’m currently migrating a very old typo3 cms to wordpress 6.1. In order to get links stored in the db working I have to transform them from a proprietary non-xml format to html using a regular expression: <link fileadmin/user_upload/file47.pdf – download>Linktext</link> has to transformed with this regex <link\s(fileadmin\S*?)[>\s].+?>(.+?)<\/link> to this link: <a href="fileadmin/user_upload/file47.pdf">Linktext</a> I’ve tested… Read More Regex working in php 7.4 but not with mariadb 10.3.38 (though both use pcre)