[TYPO3-core] RFC #8566: Unable to match TS condition when variable is not set

Martin Kutschker masi-no at spam-typo3.org
Wed Jul 16 10:32:46 CEST 2008


Dmitry Dulepov [typo3] schrieb:
> Hi!
> 
> Martin Kutschker wrote:
>> Funnily this isn't what happens. The code looks for /../ and passes the
>> WHOLE thing incl. the / provided by the user to regexp_match.
> 
> Not exactly... There are two cases:
> - user string is wrapped into slashes - it is a regexp
> - user string is not wrapped into slashes - than it is made a regexp

Ok, you're right. Those old values starting and ending with a | are
currently not a regexp and after the change they will be.

But I think this is a rare case I reckon, so I feel that the change has
more benefits than drawbacks.

Masi


More information about the TYPO3-team-core mailing list