Actions
Bug #85015
closedstdWrap replacement: useRegExp = 0 should not use preg_replace()
Status:
Closed
Priority:
Could have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2018-05-15
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hi,
if I write "useRegExp = 0" within a replacement rule it leads to the following error:
PHP Warning: preg_replace(): Delimiter must not be alphanumeric or backslash
I know it is not necessary to write the line at all but I think it should work anyway and should not accept 0 as "true".
Example:
page.3 = TEXT page.3 { value = There_are_a_cat,_a_dog_and_a_tiger_in_da_hood!_Yeah! stdWrap.replacement { 10 { search = in da hood replace = around the block useRegExp = 0 } } }
Actions