[TYPO3-core] RFC: #14132 Regexp for automatic line breaks in Gifbuilder is incorrect

Jigal van Hemert jigal at xs4all.nl
Tue Jun 15 22:57:59 CEST 2010


REMINDER?
What's the status on this one?

Jigal van Hemert wrote:
> This is a SVN patch request.
> 
> 
> Type: Bugfix
> 
> 
> BT reference: http://bugs.typo3.org/view.php?id=14132
> 
> 
> 
> Branches: trunk (4.3 too?)
> 
> 
> 
> Problem: the regular expression in 
> t3lib_stdGraphic::getWordPairsForLineBreak() is incorrect. The dash 
> character makes a range:
> #([ -.,!:]+)#
> of everything between 'space' and 'dot'
> 
> 
> Solution: Move 'dash' character to the first position of the regexp. It 
> will no longer cause a range to be formed.
> 
> 
> This is close to being a no-brainer to me :-)
> 


-- 
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh


More information about the TYPO3-team-core mailing list