Project

General

Profile

Actions

Bug #15503

closed

wrong ereg expression throws compile error warning

Added by Martin Sch¶nbeck over 18 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-01-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In class.t3lib_tsparser_ext.php on line 1085 and in class.t3lib_tsstyleconfig.php on line 247 the regular expression is malformed.

AFAICS the { had to be masked with \ as it was formerly. To keep this masking present in the real function call to ereg, of course the double quote have to be changed to single quote, since PHP otherwise removes the masking while interpreting.

The warning doesn't appear often, but for novice users they are very irritating, because you never know, what's going wrong.

In tssstyleconfig it seems not to be called any longer (at least what grep tells me), but in tsparser_ext it is.

I read, that all errors, known to be present in 4.0beta2 should be reported, even if they where reported before. This one was reported as 0001390 for 3.8.0.

I didn't get the error with PHP 5 yet, but got it very seldom before, so it doesn't tell anything, I think
(issue imported from #M2383)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #14934: mb_ereg(): mbregex compile errClosedMichael Stucki2005-08-20

Actions
Actions

Also available in: Atom PDF