[ticket/11288-develop] Handle +,- without preceeding whitespace characters

http://tracker.phpbb.com/browse/PHPBB3-11288
PHPBB3-11288

Related PR: https://github.com/phpbb/phpbb/pull/1752