Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1450)
+++ branches/2.8.x/CHANGELOG	(revision 1451)
@@ -11,6 +11,8 @@
 ! = Update/Change
 
 ------------------------------------- 2.8.2 -------------------------------------
+29 May-2011 Build 1451 Dietmar Woellbrink (Luisehahne)
+# replace eregi with pregmatch in search_modext (Tks to Thorn)
 22 May-2011 Build 1450 Werner v.d.Decken(DarkViper)
 # small fix at calling of moveCssToHead() in /index.php
 07 May-2011 Build 1449 Werner v.d.Decken(DarkViper)
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1450)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1451)
@@ -52,6 +52,6 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.2.RC5');
-if(!defined('REVISION')) define('REVISION', '1450');
+if(!defined('REVISION')) define('REVISION', '1451');
 
 ?>
Index: branches/2.8.x/wb/search/search_modext.php
===================================================================
--- branches/2.8.x/wb/search/search_modext.php	(revision 1450)
+++ branches/2.8.x/wb/search/search_modext.php	(revision 1451)
@@ -362,11 +362,11 @@
 		return $files;
 	foreach($files as $file) {
 		if($keep) {
-			if(eregi($str, $file)) {
+			if(preg_match("~$str~i", $file)) {
 				$c_filelist[] = $file;
 			}
 		} else {
-			if(!eregi($str, $file)) {
+			if(!preg_match("~$str~i", $file)) {
 				$c_filelist[] = $file;
 			}
 		}
