<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Scarabée Software: Forum — Conditional insertion]]></title>
		<link>https://scarabee-software.net/forum/viewtopic.php?id=205</link>
		<atom:link href="https://scarabee-software.net/forum/extern.php?action=feed&amp;tid=205&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Conditional insertion.]]></description>
		<lastBuildDate>Mon, 13 Jun 2011 15:24:02 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Conditional insertion]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?pid=680#p680</link>
			<description><![CDATA[<p>Tiens, il n&#039;est jamais trop tard pour bien faire : Merci pour ta réponse <img src="https://scarabee-software.net/forum/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[null@example.com (mdes)]]></author>
			<pubDate>Mon, 13 Jun 2011 15:24:02 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?pid=680#p680</guid>
		</item>
		<item>
			<title><![CDATA[Re: Conditional insertion]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?pid=607#p607</link>
			<description><![CDATA[<p>Bonjour Michel,</p><p>Even if it is not obvious <img src="https://scarabee-software.net/forum/img/smilies/wink.png" width="15" height="15" alt="wink" /> you already can do this.<br />Here is what the expression could be:<br />%b.(%Ev)..[%EV]..*;%b(s/(\.\(.+\)\.)\.\[.*\]\./\1/)(&quot;.().&quot;)(&quot;.[].&quot;).*</p><p>It is a combination of sub-expressions and string modifiers.<br />Of course it would be much easier to use a specific syntax like the one you suggest.</p><p>For sure the expression grammar has to be improved. I&#039;ll have to work on this.<br />Any contribution is welcome.</p><p>Thanks for your post.</p><p>Remi</p>]]></description>
			<author><![CDATA[null@example.com (Rémi)]]></author>
			<pubDate>Mon, 16 Feb 2009 09:48:06 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?pid=607#p607</guid>
		</item>
		<item>
			<title><![CDATA[Conditional insertion]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?pid=606#p606</link>
			<description><![CDATA[<p>I would like to insert some expression depending if another expression is empty or not.&nbsp; It could be useful to add such possibility <img src="https://scarabee-software.net/forum/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p><p>My case is the following:</p><p><strong>If</strong> <span class="bbu">%Ev</span> is not empty, <strong>then </strong>insert it rounded by dot-parenthesis <span class="bbu">*.(%Ev).*</span>,<br /><strong>ElseIf </strong><span class="bbu">%EV</span> is not empty <strong>then </strong>insert it rounded by dot-squared brackets <span class="bbu">*.[%EV].*</span>,<br /><strong>Else </strong>insert nothing <span class="bbu">*.*</span>.</p><p>This could be something like:<br />%Ev?(x,y) =&gt; <strong>if </strong>%Ev is empty or zero, <strong>then </strong>insert x <strong>else </strong>insert y<br />or more sophisticated:<br />%Ev=a?(x,y) =&gt; with &quot;=&quot; is an comparison operator (= or ==, &lt;=, &lt;&gt; ou !=,...)<br />or another syntax.</p><p>Great application!<br />Michel.</p>]]></description>
			<author><![CDATA[null@example.com (mdes)]]></author>
			<pubDate>Sun, 15 Feb 2009 10:34:18 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?pid=606#p606</guid>
		</item>
	</channel>
</rss>
