removed regex
This commit is contained in:
@@ -6,6 +6,9 @@ $Id$
|
|||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
|
||||||
|
2002-11-01 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||||
|
* libraries/sqlparser.lib.php3: Avoid regex if possible.
|
||||||
|
|
||||||
2002-10-31 Marc Delisle <lem9@users.sourceforge.net>
|
2002-10-31 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* db_details_structure.php3, header.inc.php3, new db_datadict.php3,
|
* db_details_structure.php3, header.inc.php3, new db_datadict.php3,
|
||||||
lang/*.php3: data dictionary feature, thanks to Ian Davidson
|
lang/*.php3: data dictionary feature, thanks to Ian Davidson
|
||||||
|
@@ -231,7 +231,7 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) {
|
|||||||
// ANSI style --
|
// ANSI style --
|
||||||
if (($c == '#')
|
if (($c == '#')
|
||||||
|| (($count2 + 1 < $len) && ($c == '/') && ($sql[$count2 + 1] == '*'))
|
|| (($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++;
|
$count2++;
|
||||||
$pos = 0;
|
$pos = 0;
|
||||||
$type = 'bad';
|
$type = 'bad';
|
||||||
|
Reference in New Issue
Block a user