vrana/adminer — pull request #53 by xsist10 (2013-07-23 09:37:08+00:00)
Title: Removed references to ereg, eregi and ereg_replace from the code base

The POSIX regex functions were deprecated in PHP 5.3.0 (this version and all newer ones throw a warning). The use of the POSIX regex functions is now highly discouraged and may be removed from the code base in any future release without warning.

The functions have been replaced with the PCRE regex replacements (preg_match and preg_replace). The major difference is that PCRE requires delimiters in the pattern and those delimites must be escaped in the pattern itself:

eregi('random/pattern') becomes preg_match('/random\/pattern/i')