[TYPO3-core] RFC: Fixes and cleanup in t3lib_sqlparser.php

Ernesto Baschny [cron IT] ernst at cron-it.de
Fri Jun 30 13:36:03 CEST 2006


Karsten Dambekalns schrieb am 30.06.2006 13:02:

>  					// Find "comparator":
> -				$stack[$level][$pnt[$level]]['comparator'] = $this->nextPart($parseString,'^(<=|>=|<|>|=|!=|NOT[[:space:]]+IN|IN|NOT[[:space:]]+LIKE|LIKE|IS)');
> +				$stack[$level][$pnt[$level]]['comparator'] = $this->nextPart($parseString,'^(<=|>=|<|>|=|!=|NOT[[:space:]]+IN|IN|NOT[[:space:]]+LIKE|LIKE|IS NOT|IS)');

I would use "IS[[:space:]]+NOT" just as its being done for the other
cases with spaces.

Other than that +1 from me too.

Cheers,
Ernesto





More information about the TYPO3-team-core mailing list