[pmwiki-users] Make flv module php >= 5.5 compatible
Petko Yotov
5ko at 5ko.fr
Wed Aug 5 09:33:49 CDT 2015
On 2015-08-05 15:59, Jean-Pierre Chrétien wrote:
> Markup('flv', '<urllink',
> "/\\b(?>(\\L))([^\\s$UrlExcludeChars]+\\.flv)/e",
>
> "Keep(\$GLOBALS['LinkFunctions']['$1'](\$pagename,'$1','$2',NULL,'$1$2',
> \$GLOBALS['FlvTagFmt']), 'L')");
>
> with the Markup_e syntax. I removed the e, replaced '$x' with $m[x],
> but I'm
> stuck with the correct syntax for '$1$2'...
It would be
before: '$1$2'
after : \$m[1].\$m[2]
(no quotes, dot between them)
Petko
--
Change log : http://www.pmwiki.org/wiki/PmWiki/ChangeLog
Release notes : http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes
If you upgrade : http://www.pmwiki.org/wiki/PmWiki/Upgrades
If this message helped you and saved you time, feel free to make
a small contribution: http://5ko.fr/donate-ml (mailing list).
More information about the pmwiki-users
mailing list