Changeset 7844 for trunk/docscripts/inc

Show
Ignore:
Timestamp:
03/29/07 17:55:03 (22 months ago)
Author:
pottedmeat
Message:

Fixes #2673. Changed a regex and a dojo.declare permutation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/docscripts/inc/DojoObject.php

    r6381 r7844  
    7171                                        break; 
    7272                                } 
    73         if (preg_match('%^(\s*)([a-zA-Z0-9_$]+|"\s+"):%', $line, $match)) { 
     73        if (preg_match('%^(\s*)([a-zA-Z0-9_$]+|"\s+")\s*:%', $line, $match)) { 
    7474          if ($end[0] != $this->start[0] && $end[1] != $this->start[1]) { 
    7575            $between_lines = Text::chop($this->package->getSource(), $end[0], $end[1], $line_number, strlen($match[1]), true);