<div dir="ltr"><pre style="font-family: courier new,monospace;"><font size="2">Hi,<br><br>I would like to use backreferences in list comprehensions (or other comprehensions), such as :<br><br>[[elt for elt in lst if elt] for lst in matrix if \{1}]<br>
# \{1} is back-reference to filter result </font><font><font size="2">of the</font></font><br><font size="2"># first comprehension ([elt for elt in lst if elt])<br><br>It would be possible to do this ?<br><br>Thanks</font></pre>
</div>