[Console] Fixed output formatter regex.

This commit is contained in:
jfsimon 2012-07-13 11:05:56 +02:00
parent fea9d0978e
commit 3fef3c2c9d

View File

@ -23,7 +23,7 @@ class OutputFormatter implements OutputFormatterInterface
/** /**
* The pattern to phrase the format. * 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 $decorated;
private $styles = array(); private $styles = array();