<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>
&#39;{&#39; without a matching &#39;}&#39;) 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. ${@ ... &#39;${FOO}&#39;}<br>-- <br><div class="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>