[TYPO3-core] preg_replace / back references
Wolfgang Klinger
wolfgang at stufenlos.net
Tue Jun 26 10:37:06 CEST 2007
*hiya!*
On Jun 25, 2007, at 2:01 PM, Dmitry Dulepov wrote:
> Wolfgang Klinger wrote:
>> We found a bug in prefixLocalAnchorsWithScript() in tslib_fe
>> where the back reference in the regular expression is written
>> as $1 and the we had numeric URLs here, so this ended up in something
>> like $12345 (and that makes no sense).
>>
>> To fix this the correct usage is ${1}.
Patch attached.
Please approve.
bye
Wolfgang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tslib_fe.diff
Type: application/octet-stream
Size: 703 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070626/a6f56cdd/attachment.obj
More information about the TYPO3-team-core
mailing list