<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[regexp]]></title><description><![CDATA[<p>Hi all,<br />
There is an object similar to regexp from maxmsp?</p>
<p>I would line to substitute characters into spaces. For Example:</p>
<p>from:   X:0,15Y:0,15<br />
to         X 0;15 y 0;15</p>
<p>Looking fordward for your suggestions <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12611/regexp</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Nov 2026 00:11:02 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/12611.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 26 Feb 2020 13:12:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to regexp on Wed, 26 Feb 2020 13:12:52 GMT]]></title><description><![CDATA[<p>Hi all,<br />
There is an object similar to regexp from maxmsp?</p>
<p>I would line to substitute characters into spaces. For Example:</p>
<p>from:   X:0,15Y:0,15<br />
to         X 0;15 y 0;15</p>
<p>Looking fordward for your suggestions <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12611/regexp</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12611/regexp</guid><dc:creator><![CDATA[Pimp_me]]></dc:creator><pubDate>Wed, 26 Feb 2020 13:12:52 GMT</pubDate></item><item><title><![CDATA[Reply to regexp on Wed, 26 Feb 2020 14:11:44 GMT]]></title><description><![CDATA[<p>If you are fine with using externals I would use a Lua script with Ofelia:<br />
<a href="https://www.lua.org/pil/20.1.html" rel="nofollow">https://www.lua.org/pil/20.1.html</a><br />
<img src="/uploads/files/1582726284309-stringreplace.png" alt="stringreplace.PNG" class="img-responsive img-markdown" /><br />
<a href="/uploads/files/1582726298407-replace-character.pd">replace character.pd</a></p>
<p>Otherwise you can achieve that with vanilla too, this could be a starting point:<br />
<a href="https://forum.pdpatchrepo.info/topic/10556/vanilla-list2symbol-abstraction-pd-0-47" rel="nofollow">https://forum.pdpatchrepo.info/topic/10556/vanilla-list2symbol-abstraction-pd-0-47</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12611/regexp/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12611/regexp/2</guid><dc:creator><![CDATA[Jona]]></dc:creator><pubDate>Wed, 26 Feb 2020 14:11:44 GMT</pubDate></item><item><title><![CDATA[Reply to regexp on Wed, 26 Feb 2020 20:53:05 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/pimp_me">@Pimp_me</a> A long time ago....... upset about the future demise of Extended..... this was an incomplete attempt at string editing in Vanilla........ <a href="/uploads/files/1582749023574-edit.zip">edit.zip</a><br />
[edit : 2] should work....... but not if your &quot;Y&quot; is really stuck to the &quot;15&quot; that precedes it.<br />
e.g. <a href="/uploads/files/1582750345134-substitute.pd">substitute.pd</a> ....... semi-colon being &lt;cr&gt; in Pd.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12611/regexp/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12611/regexp/3</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Wed, 26 Feb 2020 20:53:05 GMT</pubDate></item><item><title><![CDATA[Reply to regexp on Fri, 28 Feb 2020 12:34:38 GMT]]></title><description><![CDATA[<p>Thank you <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jona">@Jona</a> I am trying with the lsit2symbol abstraction.<br />
<a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a>  actually Y is stuck to the 15...</p>
<p>I connected a 3D Printer using comport and need to track the position of the extruder.<br />
Directly from Comport I get this info:</p>
<p><strong>comport</strong>: X : 0 . 0 0 Y : 0 . 0 0 Z : 0 . 0 0 E : 0 . 0 0   C o u n t   X :   0 . 0 0 Y : 0 . 0 0 Z : 0 . 0 0<br />
<strong>comport:</strong> o k</p>
<p>Trying with your patch I am able to remove spaces (using vl2s and edit):</p>
<p><strong>vl2s</strong>: symbol X_:<em>0</em>.<em>0_0_Y</em>:<em>0</em>.<em>0_0_Z</em>:<em>0</em>.<em>0_0_E</em>:<em>0</em>.<em>0_0</em> <em>C_o_u_n_t</em> <em>X</em>:_ <em>0</em>.<em>0_0_Y</em>:<em>0</em>.<em>0_0_Z</em>:<em>0</em>.<em>0_0</em><br />
<strong>vl2s</strong>: **symbol o_k_</p>
<p><strong>edit</strong>: symbol X:0.00Y:0.00Z:0.00E:0.00 Count X: 0.00Y:0.00Z:0.00<br />
<strong>edit</strong>: symbol ok</p>
<p>Actually I just need the integral number after the axis (X,Y,Z). The second group of axes would be great (current position) but the first group (to go Position) is also OK.</p>
<p>I tried using cylone/nth. But the problem is that the list sometimes is longer so looking for the nth is not a good Idea:</p>
<p><strong>comport</strong>: X : <strong>0</strong> . 0 0 Y : 0 . 0 0 Z : 0 . 0 0 E : 0 . 0 0   C o u n t   X :   <strong>0</strong> . 0 0 Y : 0 . 0 0 Z : 0 . 0 0<br />
<strong>comport</strong>: X : <strong>10</strong> . 0 0 Y : 0 . 0 0 Z : 0 . 0 0 E : 0 . 0 0   C o u n t   X :   <strong>10</strong> . 0 0 Y : 0 . 0 0 Z : 0 . 0 0</p>
<p><a href="/uploads/files/1582893153388-serialtester.pd">serialtester.pd</a></p>
<p>Looking forward for your replies <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12611/regexp/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12611/regexp/4</guid><dc:creator><![CDATA[Pimp_me]]></dc:creator><pubDate>Fri, 28 Feb 2020 12:34:38 GMT</pubDate></item><item><title><![CDATA[Reply to regexp on Fri, 28 Feb 2020 15:01:53 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/pimp_me">@Pimp_me</a> i'm pretty sure, that someone already built an abstraction, that solves such tasks in an elegant way - however, i don#t exactly know! <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";-)" alt=";-)" /> i just tinkered around by trial and error and i have to confess, i feel a bit ashamed about such an akward patch. but maybe it could be a starting point. i'm sure, this can be refined or build another way. at the moment, it only works, as long the integrals a below than 10. <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/unamused.png" title="unamused" alt=":unamused:" /><br />
<a href="/uploads/files/1582901858651-find_list_val.pd">find_list_val.pd</a><br />
basically, i convert the symbol into a list, break it up into it's single elements and look for the indicies of the colons. then i route these indicies to [list split] units, wich extract the first element after each colon.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12611/regexp/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12611/regexp/5</guid><dc:creator><![CDATA[toxonic]]></dc:creator><pubDate>Fri, 28 Feb 2020 15:01:53 GMT</pubDate></item><item><title><![CDATA[Reply to regexp on Fri, 28 Feb 2020 16:16:45 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/toxonic">@toxonic</a> thank you! the integrals needs are actually above 10 <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/frowning.png" title=":(" alt=":(" /><br />
but I am getting closer to my goal. <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12611/regexp/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12611/regexp/6</guid><dc:creator><![CDATA[Pimp_me]]></dc:creator><pubDate>Fri, 28 Feb 2020 16:16:45 GMT</pubDate></item><item><title><![CDATA[Reply to regexp on Fri, 28 Feb 2020 19:29:53 GMT]]></title><description><![CDATA[<p>this works perhaps:<br />
<img src="/uploads/files/1582910791701-charrepl.png" alt="charrepl.PNG" class="img-responsive img-markdown" /><br />
<a href="/uploads/files/1582910770821-charrepl.pd">charrepl.pd</a><br />
or<br />
<a href="/uploads/files/1582918190818-charrepl_comma.pd">charrepl_comma.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12611/regexp/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12611/regexp/7</guid><dc:creator><![CDATA[Jona]]></dc:creator><pubDate>Fri, 28 Feb 2020 19:29:53 GMT</pubDate></item><item><title><![CDATA[Reply to regexp on Fri, 28 Feb 2020 23:39:56 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/pimp_me">@Pimp_me</a> This uses the string that comes out of comport and outputs the two sets of coordinates as lists: <a href="/uploads/files/1582932790547-string.pd">string.pd</a> <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /><br />
<img src="/uploads/files/1582932799492-bildschirmfoto-vom-2020-02-29-00-31-28.png" alt="Bildschirmfoto vom 2020-02-29 00-31-28.png" class="img-responsive img-markdown" /></p>
<p>The same without the decimals: <a href="/uploads/files/1582933194309-string2.pd">string2.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12611/regexp/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12611/regexp/8</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Fri, 28 Feb 2020 23:39:56 GMT</pubDate></item><item><title><![CDATA[Reply to regexp on Sat, 29 Feb 2020 15:22:58 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ingox">@ingox</a> you are my hero!!!! Thank you and have a nice weekend <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12611/regexp/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12611/regexp/9</guid><dc:creator><![CDATA[Pimp_me]]></dc:creator><pubDate>Sat, 29 Feb 2020 15:22:58 GMT</pubDate></item><item><title><![CDATA[Reply to regexp on Sat, 29 Feb 2020 17:14:53 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/pimp_me">@Pimp_me</a><br />
just, because couldn't let it be... <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";-)" alt=";-)" /><br />
<img src="/uploads/files/1582996472558-bildschirmfoto-vom-2020-02-29-18-12-25.png" alt="Bildschirmfoto vom 2020-02-29 18-12-25.png" class="img-responsive img-markdown" /><br />
and here the patch: <a href="/uploads/files/1582996490565-find_list_val.pd">find_list_val.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12611/regexp/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12611/regexp/10</guid><dc:creator><![CDATA[toxonic]]></dc:creator><pubDate>Sat, 29 Feb 2020 17:14:53 GMT</pubDate></item><item><title><![CDATA[Reply to regexp on Mon, 02 Mar 2020 12:10:55 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/toxonic">@toxonic</a> <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/clap.png" title="clap" alt=":clap:" />  <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/clap.png" title="clap" alt=":clap:" />  <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/clap.png" title="clap" alt=":clap:" /><br />
Vielen Daaaaank!!!!!!!  Grüße aus Hamburg!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12611/regexp/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12611/regexp/11</guid><dc:creator><![CDATA[Pimp_me]]></dc:creator><pubDate>Mon, 02 Mar 2020 12:10:55 GMT</pubDate></item><item><title><![CDATA[Reply to regexp on Mon, 02 Mar 2020 13:13:15 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/pimp_me">@Pimp_me</a> Now that we see the data we can all have fun......... <a href="/uploads/files/1583154713203-parse-vanilla.zip">parse vanilla.zip</a><br />
Vanilla (old style).<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12611/regexp/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12611/regexp/12</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Mon, 02 Mar 2020 13:13:15 GMT</pubDate></item><item><title><![CDATA[Reply to regexp on Mon, 02 Mar 2020 14:45:34 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> Great idea! Works even with [fudiparse]: <a href="/uploads/files/1583160275992-string3.pd">string3.pd</a></p>
<p><img src="/uploads/files/1583160333549-bildschirmfoto-vom-2020-03-02-15-45-12.png" alt="Bildschirmfoto vom 2020-03-02 15-45-12.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12611/regexp/13</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12611/regexp/13</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Mon, 02 Mar 2020 14:45:34 GMT</pubDate></item><item><title><![CDATA[Reply to regexp on Mon, 02 Mar 2020 15:39:18 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ingox">@ingox</a> Yes! That's tighter.....<br />
But what is this Vanilla thing you speak of?.... <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title="wink" alt=":wink:" /><br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12611/regexp/14</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12611/regexp/14</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Mon, 02 Mar 2020 15:39:18 GMT</pubDate></item><item><title><![CDATA[Reply to regexp on Mon, 02 Mar 2020 23:39:53 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> My patch is 100% vanilla <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/stuck_out_tongue_winking_eye.png" title="stuck_out_tongue_winking_eye" alt=":stuck_out_tongue_winking_eye:" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12611/regexp/15</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12611/regexp/15</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Mon, 02 Mar 2020 23:39:53 GMT</pubDate></item></channel></rss>