Author: dr
Date: Wed Jan  2 15:22:22 2008
New Revision: 7053

Log:
- Implemented issue #12316: Numbers in own component prefix not possible.

Modified:
    trunk/Base/ChangeLog
    trunk/Base/src/base.php

Modified: trunk/Base/ChangeLog
==============================================================================
--- trunk/Base/ChangeLog [iso-8859-1] (original)
+++ trunk/Base/ChangeLog [iso-8859-1] Wed Jan  2 15:22:22 2008
@@ -1,3 +1,9 @@
+1.5alpha1 - [RELEASEDATE]
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+- Implemented issue #12316: Numbers in own component prefix not possible.
+
+
 1.4 - Monday 17 December 2007
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 

Modified: trunk/Base/src/base.php
==============================================================================
--- trunk/Base/src/base.php [iso-8859-1] (original)
+++ trunk/Base/src/base.php [iso-8859-1] Wed Jan  2 15:22:22 2008
@@ -138,7 +138,7 @@
         // Not cached, so load the autoload from the package.
         // Matches the first and optionally the second 'word' from the 
classname.
         $fileNames = array();
-        if ( preg_match( "/^([a-z]*)([A-Z][a-z0-9]*)([A-Z][a-z0-9]*)?/", 
$className, $matches ) !== false )
+        if ( preg_match( "/^([a-z0-9]*)([A-Z][a-z0-9]*)([A-Z][a-z0-9]*)?/", 
$className, $matches ) !== false )
         {
             $autoloadFile = "";
             // Try to match with both names, if available.


-- 
svn-components mailing list
svn-components@lists.ez.no
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to