[Console] Fixed output formatter regex.

This commit is contained in:
jfsimon 2012-07-13 11:05:56 +02:00
parent fea9d0978e
commit 3fef3c2c9d
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class OutputFormatter implements OutputFormatterInterface
/**
* The pattern to phrase the format.
*/
const FORMAT_PATTERN = '#(\\\\?)<(/?)([a-z][a-z0-9_=;-]+)?>([^\\\\<]*)#is';
const FORMAT_PATTERN = '#(\\\\?)<(/?)([a-z][a-z0-9_=;-]+)?>((?:(?!\\\\?<).)*)#is';
private $decorated;
private $styles = array();