Hi Hans !<br><br>My question is about your last change in /snip/ process. I&#39;m in trouble when working with the very last version.<br>In my case, I&#39;m still looking, in some group, for lines including : %eval_xxx%<br>
My purpose is to extract these lines, and show them while hiding the %.*% pattern (as it used to work in former textextract version where my problem was different : snip process removed some text so that snipped text that wasn&#39;t counted in number results).<br>
<br>1/ If I ask :<br>(:pagelist eval_ fmt=extract group=Argot name=-RecentChanges phead=link unit=line title=&#39;Liste des évaluations&#39; header=full timer=1 :)<br>I get the list of targeted lines, including the comment. For example, as a result among others :<br>
<br><div>%eval_YP%« En 1821 aussi, au bagne de Brest, un forçat intelligent, Louis Ansiaume, compose un dictionnaire du bagne, pourvu d’exemples excellents ».YP<br><br></div><div>2/If I ask :<br>(:pagelist eval_ fmt=extract group=Argot name=-RecentChanges phead=link unit=line title=&#39;Liste des évaluations&#39; header=full timer=1 snip=%.*%:)<br>
I get no result : 0 results    from 411 pages searched    eval_    (0,54 seconds)<br>Found no matches!)<br><br>2&#39;/If I ask :<br><br>...snip=%eval:) I still get 0 result<br><br>...snip=%:) I get all the results, with no percent sign : (same example as above)</div>
<div><br>eval_YP« En 1821 aussi, au bagne de Brest, un forçat intelligent, Louis Ansiaume, compose un dictionnaire du bagne, pourvu d’exemples excellents ». YP<br><br>I guess there is something strange (0 result). Is that the expected new snip process ? I wish I had : X results for Y pages, then the extracted lines, pattern hidden, working for pattern in form of snip=%.*% (as in the former version, plus counting the snipped text).<div>
<br>Thank you for your help ! Ask me if I&#39;m not understandable ;)</div><div>Gilles.</div><div><br></div><div>Page concerned : <a href="http://www.languefrancaise.net/docs/Argot/Evaluations">http://www.languefrancaise.net/docs/Argot/Evaluations</a><br>
<br>2009/9/26 Hans &lt;<a href="mailto:design5@softflow.co.uk">design5@softflow.co.uk</a>&gt;<br>&gt;<br>&gt; New TextExtract version 2009-09-26 now released.<br>&gt; <a href="http://www.pmwiki.org/wiki/Cookbook/TextExtract">http://www.pmwiki.org/wiki/Cookbook/TextExtract</a><br>
&gt;<br>&gt; I added a config variable for setting markup-mode specific<br>&gt; defaults, so any markup mode can have custom default options.<br>&gt;<br>&gt; I also made the shorten= option (to truncate output lines)<br>&gt; available for all markup modes, not just for markup=text.<br>
&gt; It seems to work fine, although there may be occasionally undesired<br>&gt; clipping of active markup.<br>&gt;<br>&gt;<br>&gt; ~Hans<br>&gt;<br>&gt;<br>&gt; ______________________________ _________________<br>&gt; pmwiki-users mailing list<br>
&gt; <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>&gt; <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br><br><br><br>
--<br>---------------------------------------<br>| A | de la langue française<br>| B | <a href="http://www.languefrancaise.net/">http://www.languefrancaise.net/</a><br>| C | <a href="mailto:languefrancaise@gmail.com">languefrancaise@gmail.com</a><br>
---------------------------------------</div></div>