[TYPO3-core] Further correction to MIME type determination

Wolfgang Klinger wolfgang at stufenlos.net
Thu Apr 20 10:37:05 CEST 2006


 *hiya!*

 On Thu, 20 Apr 2006, Martin Kutschker wrote the following:
> I'd test the regexp in a short test script. But there's not much that can fail, so +1

 I tested the regexp too, +1

> PS: Is it really necessary to escape anything besides a ] in a character class? All those extra \ make the class hard to read. 

 You have to escape "\", "]" and "-" in a character class.


 bye
 Wolfgang




More information about the TYPO3-team-core mailing list