<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div><div>Hi Christopher,</div><div><br></div><div>On 03/02/16 17:56, "Christopher Larson" &lt;<a href="mailto:kergoth@gmail.com">kergoth@gmail.com</a> on behalf of <a href="mailto:clarson@kergoth.com">clarson@kergoth.com</a>&gt; wrote:</div></div><span id="OLK_SRC_BODY_SECTION"><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 3, 2016 at 3:33 AM, Markus Lehtonen <span dir="ltr">&lt;<a href="mailto:markus.lehtonen@linux.intel.com" target="_blank">markus.lehtonen@linux.intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":175" class="a3s" style="overflow:hidden">This expands the python expansion regex by matching curly brackets<br>
inside python expressions. In its simplicity it is limited: e.g. it does<br>
not correctly handle nested curly brackets or open curly brackets (i.e.<br>
'{' without a matching '}') inside python expressions. Making python<br>
parsing inside data_smart fully error-free would require significantly<br>
more work, basically using/implementing python parser to correctly<br>
handle python strings etc.<br><br>
[YOCTO #8849]<br><br>
Signed-off-by: Markus Lehtonen &lt;<a href="mailto:markus.lehtonen@linux.intel.com">markus.lehtonen@linux.intel.com</a>&gt;</div></blockquote></div><br></div><div class="gmail_extra">Will this cause problems with regular variable expansion nested inside of inline python, which is allowed? I.e. ${@ ... '${FOO}'}<br></div></div></blockquote></span><div><br></div><div>No, it wont affect that. First of all because the variable expansion is done before python expansion &#8211; ${FOO} would be expanded before the Python regexp is evaluated. Second, the limitation about nested brackets is only about nested brackets inside the python expression (i.e. something like '${FOO${BAR}}').</div><div><br></div><div>Thanks,</div><div>&nbsp; Markus</div><div><br></div></body></html>