<?xml version="1.0" encoding="windows-1252"?>
<node id="179842" title="Re: Re: Perl6: too bad non-greediness is not made the default" created="2002-07-06 11:46:24" updated="2005-08-12 09:47:08">
<type id="11">
note</type>
<author id="31579">
stefp</author>
<data>
<field name="doctext">
I guess TIMTOWTDI. It is a question of emphasis, yours is 
on performance, mine
is  on readability and incremental building.&lt;p&gt;
 If I combine my idea  of (ab)?using  
&lt;code&gt;.*&lt;/code&gt; with the concept that
 one can hack perl6 to make
one's own language, I would define a modifier that
would turn consecutive non breaking line spaces into an
 implicit &lt;code&gt;.*?&lt;/code&gt; 
subregex with &lt;code&gt;?&lt;/code&gt; having its traditional
 meaning of non greediness.

I am not sure it would be a so good idea though. Will be
a good exercice anyway.


&lt;p&gt; -- &lt;a href="/index.pl?node=stefp&amp;lastnode_id=1072"&gt;
stefp&lt;/a&gt; -- check out &lt;a href="http://texmacs.org"&gt;TeXmacs&lt;/a&gt; 
&lt;a href="http://alqua.com/tmresources/"&gt;wiki&lt;/a&gt;</field>
<field name="root_node">
179555</field>
<field name="parent_node">
179827</field>
</data>
</node>
