<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: regexp &amp; line feed &#8230;</title>
		<atom:link href="http://cycling74.com/forums/topic/regexp-line-feed/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/regexp-line-feed/feed</link>
		<description></description>
		<pubDate>Thu, 20 Jun 2013 00:15:21 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/regexp-line-feed/#post-60804</guid>
					<title><![CDATA[regexp &amp; line feed &#8230;]]></title>
					<link>http://cycling74.com/forums/topic/regexp-line-feed/#post-60804</link>
					<pubDate>Thu, 19 Jan 2012 04:04:40 +0000</pubDate>
					<dc:creator>tep</dc:creator>

					<description>
						<![CDATA[
						<p>Here i need to extract different strings &#038; values in an html code. The interesting elements are separated by line feeds</p>
<p>Here is the type of parts which interest me, as shown in jit.textfile :<br />
<code>
<td><a href="/global/stations/04220.html">Aasiaat</a></td></code><br />
<code>
<p></p></code><br />
<code>
<td></td></code><br />
<code><b>-13</b>&nbsp;</code></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/regexp-line-feed/#post-218856</guid>
					<title><![CDATA[Re: regexp &#038; line feed &#8230;]]></title>
					<link>http://cycling74.com/forums/topic/regexp-line-feed/#post-218856</link>
					<pubDate>Thu, 19 Jan 2012 11:32:26 +0000</pubDate>
					<dc:creator>Luke Hall</dc:creator>

					<description>
						<![CDATA[
						<p>[jit.str.regexp @re "
<td><a href="/global/stations/\d{5}.html">([^< ]+)</a>\s+</a></td>
</p><p>\s+
<td>\s+<b>([^< ]+)</b>&#8220;]</b></td></p>
<p>I tend to use \s+ to get past line breaks, as sometimes they are line feeds and sometimes carriage returns and often followed by tabs or spaces and this method matches at least one consecutive white-space characters.</p>
<p>I&#8217;d also recommend ([^>]+) for finding text between HTML tags, as it involves less backtracking to find actual matches. It searches for anything but a closing triangle bracket and (as long as you don&#8217;t have any literal ones in your text string &#8211; they should be encoded in valid HTML) will work a lot faster. I tend to avoid .* unless I can&#8217;t find a way around it.</p>
<p>The only other changes I&#8217;ve made is replacing your string of dots with \d{5} as in the URL it appears that the only unique part is a row of 5 numbers and escaping the literal quotes that appear around the URL.</p>
<p>I hope this helps, let me know if you need a better explanation!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/regexp-line-feed/#post-218857</guid>
					<title><![CDATA[Re: regexp &#038; line feed &#8230;]]></title>
					<link>http://cycling74.com/forums/topic/regexp-line-feed/#post-218857</link>
					<pubDate>Sun, 22 Jan 2012 17:44:45 +0000</pubDate>
					<dc:creator>tep</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks again for this Luke. Very useful.<br />
I think i couldn&#8217;t make it much cleaner, removed all *, it works fine.</p>
<p>Now i would have liked to use @substitute, in order (if possible) to &#8220;print&#8221; all data on a single line, but still it&#8217;s no hard work to group them in a coll.<br />
Yet i don&#8217;t understand the use of @substitute&#8230;</p>
<div><span id="toggle218857-0" class="patchtoggle" onmousedown="toggleMaxPatch('post218857-0', 'er218857-0');">&#8211; Pasted Max <span id="maxversion218857-0"></span> Patch, click to <span id="er218857-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A746.3oc0W10SaCCEF951eEQYRHPzkTmunvJrMsK3lsallzt.XHmDSqYI1Q1t%0AkxP7ee1mjzOXqocPamnRMIG6SO90O4brcencK6X9Dhz15DqKrZ05g1sZAMYZ%0AnUkcK6b7jjLrDbylQtiGeqcmxtTjIJn4BAkopas.qRFRYCtVPRTkA2u6QNgc%0Ar7hBb51wxGt500oq0UU%2BFZJDGcreaXcbtgyTLbNA54iBJNqtG1nbJKin.Mgl%0AycI8Wf6HO8HL0W9HUsycMM9X61lKcdYy4aoJGoR3n3x6yi4SEW4notufTN2s%0As6n%2BNcl1.cJ4RuiZhNAaS53s4nijjYgVJRhwrAqFK8Lf.0sLmIpIp38OREu%2B%0ASTQnCKwJkeGKiiSeAYL.Z5YTr0w9MQF%2BWIjwTMYLtglQVJWzNccNVInSLDZQ%0AqF4EBxdP9cM2Bar.yKZaVg4uYI1nrzr0jVqAeh.7DfZDOguRV.pd4YAY.YRg%0A0GDDKoBqnblz8R8mzGBezYnJOy4r8u3G8u5vC56hOyzi7PmCW7d%2B3Y9De1dr%0AXYwkW9t8dC5nH88Re9TkqtpzpnzW%2Bz9NleyBM8jP%2BD%2BqGF8yZamw3L5.1oID%0AlhHfngUyzjyhB5m4tCmKpP7foJb4jYOd.302O%2Bafe0nKixHI7QLfeAOmZvWZ%0A8YDpLMDVWKx6umAh1lIfgOiDvbhThGP9iLv5k4sFpTEm35difvRF5b2HVJQL%0APuU.K0Igm6NHiGiybO%2ByP536%2BxWOEYUysksAwpgY4gI7OFPJp2RplC1laOfl%0AClvnCoXO47lvDvz9hDVxGIRpmtUG7wZ1bHkHUTFTNOmOgK3yPZZJA5tVdoTI%0ANNijt7SBttpweMTi2NSMl8rVobP6N4XdOfVgb72sxYkurh1c5YcRk81c4xda%0AB7jSSK35%2BDXU0c.7OZPdkG0JbpwrgYiIeSds2JjevyDlkqZgKJFSDxpPBBQu%0ACvsbgwLpCXRYklPDsEjwzZ%2B0G4SGsGa%2Ba3%2BVzpF%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post218857-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode218857-0">----------begin_max5_patcher----------
746.3oc0W10SaCCEF951eEQYRHPzkTmunvJrMsK3lsallzt.XHmDSqYI1Q1t
kxP7ee1mjzOXqocPamnRMIG6SO90O4brcencK6X9Dhz15DqKrZ05g1sZAMYZ
nUkcK6b7jjLrDbylQtiGeqcmxtTjIJn4BAkopas.qRFRYCtVPRTkA2u6QNgc
r7hBb51wxGt500oq0UU+FZJDGcreaXcbtgyTLbNA54iBJNqtG1nbJKin.Mgl
ycI8Wf6HO8HL0W9HUsycMM9X61lKcdYy4aoJGoR3n3x6yi4SEW4notufTN2s
s6n+Ncl1.cJ4RuiZhNAaS53s4nijjYgVJRhwrAqFK8Lf.0sLmIpIp38OREu+
STQnCKwJkeGKiiSeAYL.Z5YTr0w9MQF+WIjwTMYLtglQVJWzNccNVInSLDZQ
qF4EBxdP9cM2Bar.yKZaVg4uYI1nrzr0jVqAeh.7DfZDOguRV.pd4YAY.YRg
0GDDKoBqnblz8R8mzGBezYnJOy4r8u3G8u5vC56hOyzi7PmCW7d+3Y9De1dr
XYwkW9t8dC5nH88Re9TkqtpzpnzW+z9NleyBM8jP+D+qGF8yZamw3L5.1oID
lhHfngUyzjyhB5m4tCmKpP7foJb4jYOd.302O+afe0nKixHI7QLfeAOmZvWZ
8YDpLMDVWKx6umAh1lIfgOiDvbhThGP9iLv5k4sFpTEm35difvRF5b2HVJQL
PuU.K0Igm6NHiGiybO+yP536+xWOEYUysksAwpgY4gI7OFPJp2RplC1laOfl
ClvnCoXO47lvDvz9hDVxGIRpmtUG7wZ1bHkHUTFTNOmOgK3yPZZJA5tVdoTI
NNijt7SBttpweMTi2NSMl8rVobP6N4XdOfVgb72sxYkurh1c5YcRk81c4xda
B7jSSK35+DXU0c.7OZPdkG0JbpwrgYiIeSds2JjevyDlkqZgKJFSDxpPBBQu
CvsbgwLpCXRYklPDsEjwzZ+0G4SGsGa+a3+VzpF
-----------end_max5_patcher-----------</code></pre></div>
</div>
<p>THANKS !</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

