Show
Ignore:
Timestamp:
03/27/08 17:28:06 (5 months ago)
Author:
mikey
Message:

bugfix: packages are separated by colons, not by dots

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/reflection/annotations/parser/stubAnnotationStateParser.php

    r1307 r1469  
    228228 
    229229        $matches = array(); 
    230         if (preg_match('/^([a-zA-Z_]{1}[a-zA-Z\.0-9_]*)\.class/', $value, $matches) != false) { 
     230        if (preg_match('/^([a-zA-Z_]{1}[a-zA-Z0-9_:]*)\.class/', $value, $matches) != false) { 
    231231            return new stubReflectionClass($matches[1]); 
    232232        } 
    233233 
    234234        $matches = array(); 
    235         if (preg_match('/^([a-zA-Z_]{1}[a-zA-Z\.0-9_]*)::\$([a-zA-Z_]{1}[a-zA-Z0-9_]*)/', $value, $matches) != false) { 
     235        if (preg_match('/^([a-zA-Z_]{1}[a-zA-Z0-9_:]*)::\$([a-zA-Z_]{1}[a-zA-Z0-9_]*)/', $value, $matches) != false) { 
    236236            stubClassLoader::load('net::stubbles::lang::stubEnum'); 
    237237            try {