User:Danwe/Extension:ArrayExtension

My version of Extension:ArrayExtension:

Changes since the original 1.2.3:
 * June 4, 2010 version 1.2.5
 * array function #arraysearcharray added.
 * #arraysearch code cleanup, search parameter is optional now, searching for empty elements is possible now.
 * advanced check for regular expressions in #arraysearch, #arraydefine and #arraysearcharray, private function isValidRegEx added.
 * May 30, 2010 -- version 1.2.4
 * update arrayunion and arraydiff, fixed bug (gaps between array indexes doing some serious trouble in other arrayfunctions like arraysearch)
 * now using preg_quote in arraydefine when using a non regular expression delimiter
 * some minor code changes and cleanup