Changeset 2062 for trunk/system/libraries/drivers/Database.php
- Timestamp:
- 02/15/2008 02:00:25 PM (9 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/drivers/Database.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/drivers/Database.php
r2059 r2062 267 267 public function has_operator($str) 268 268 { 269 return (bool) preg_match('/[<>!=]|\sIS( \s+?:NOT\s+)?\b/i', trim($str));269 return (bool) preg_match('/[<>!=]|\sIS(?:\s+NOT\s+)?\b/i', trim($str)); 270 270 } 271 271
