[TYPO3-core] Bug #1574: Show visibility settingsfor contentelements in icon title

Ingmar Schlecht ingmar at typo3.org
Mon Dec 12 09:50:57 CET 2005


Martin Kutschker schrieb:
>>>I agree that we should use / unless we work on eg a URL or a pah 
>>>which may contain /'s itself. Than I think it's ok to choose some
>>>other "outer delimiter".
>>
>>I think even then we can use / and the correct quoting function 
>>preg_quote($string,'/'), having '/' as second argument.
> 
> IMHO an unnecessary function call.

True, unless the regular expression itself contains a part of a URL so 
you'd need to call preg_quote() anyway for escaping things like the dots.

cheers
Ingmar



More information about the TYPO3-team-core mailing list