removed regex

This commit is contained in:
Alexander M. Turek
2002-11-01 09:07:23 +00:00
parent bdd60755b9
commit dc419c07b6
2 changed files with 4 additions and 1 deletions

View File

@@ -231,7 +231,7 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) {
// ANSI style --
if (($c == '#')
|| (($count2 + 1 < $len) && ($c == '/') && ($sql[$count2 + 1] == '*'))
|| (($count2 + 2 < $len) && ($c == '-') && ($sql[$count2 + 1] == '-') && ereg("(\n|[space])", $sql[$count2 + 2]))) {
|| (($count2 + 2 < $len) && ($c == '-') && ($sql[$count2 + 1] == '-') && (($sql[$count2 + 2] == ' ') || ($sql[$count2 + 2] == "\n")))) {
$count2++;
$pos = 0;
$type = 'bad';