fixed slashes in regex

This commit is contained in:
Sebastian Mendel
2008-01-21 14:51:54 +00:00
parent f33ea1151e
commit 9fe52edc49

View File

@@ -74,8 +74,8 @@ function PMA_analyseShowGrant()
return; return;
} }
$re0 = '(^|(\\\\\\\\)+|[^\])'; // non-escaped wildcards $re0 = '(^|(\\\\\\\\)+|[^\\\\])'; // non-escaped wildcards
$re1 = '(^|[^\])(\\\)+'; // escaped wildcards $re1 = '(^|[^\\\\])(\\\)+'; // escaped wildcards
while ($row = PMA_DBI_fetch_row($rs_usr)) { while ($row = PMA_DBI_fetch_row($rs_usr)) {
// extract db from GRANT ... ON *.* or GRANT ... ON db.* // extract db from GRANT ... ON *.* or GRANT ... ON db.*