* Fixed bug #9599: felogin - Enable Caching "USER" instead of "USER_INT" (thanks to Dmitry Dulepov & Steffen Kamper)
* Added feature #9661: Extend condition operators for globalVar (thanks to Steffen Kamper)
* Cleanup: Specified deprecated statements
+ * Follow-up to feature #9661: Re-enable matching empty globalVars
2008-11-03 Oliver Hader <oliver@typo3.org>
function testNumber($test, $leftValue) {
$test = trim($test);
- if (preg_match('/^(!?=+|<=?|>=?)\s*(.+)\s*$/', $test, $matches)) {
+ if (preg_match('/^(!?=+|<=?|>=?)\s*([^\s]*)\s*$/', $test, $matches)) {
$operator = $matches[1];
$rightValue = $matches[2];