Changeset 1469 for trunk/src/main/php/net/stubbles/reflection/annotations
- Timestamp:
- 03/27/08 17:28:06 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/reflection/annotations/parser/stubAnnotationStateParser.php
r1307 r1469 228 228 229 229 $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) { 231 231 return new stubReflectionClass($matches[1]); 232 232 } 233 233 234 234 $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) { 236 236 stubClassLoader::load('net::stubbles::lang::stubEnum'); 237 237 try {
