Development

Changeset 20982

You must first sign up to be able to contribute.

Changeset 20982

Show
Ignore:
Timestamp:
08/10/09 01:43:40 (5 years ago)
Author:
bschussek
Message:

Fixed LimePrinter? to also auto-colorize empty strings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tools/lime/branches/2.0-experimental/lib/LimePrinter.php

    r20975 r20982  
    8989      if (is_null($style)) 
    9090      { 
    91         return preg_replace_callback('/("[^"]+"'/*|(->|::)?\w+\([^\)]*\)*/.')/', array($this, 'autoColorize'), $text); 
     91        return preg_replace_callback('/("[^"]*"'/*|(->|::)?\w+\([^\)]*\)*/.')/', array($this, 'autoColorize'), $text); 
    9292      } 
    9393      else