<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: RESOLVED: Need help with regular expression]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in RESOLVED: Need help with regular expression of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Wed, 28 Jan 2009 03:51:51 +0200</lastBuildDateTag>		<item>
			<title>RESOLVED: Need help with regular expression</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic7040/message26852/">RESOLVED: Need help with regular expression</a></b> <i>I don't understand RegExpBlindMatch=</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Changed %SubPatt="2" to %SubPatt="0"<br /><br />Also, Found THIS site to be VERY helpful with RegExp:<br /><noindex><a href="http://gskinner.com/RegExr/" target="_blank" rel="nofollow">http://gskinner.com/RegExr/</a></noindex> <br />
			<i>28 January 2009 03:51:51, <a href="http://www.ritlabs.com/en/forums/">Jason Gottschalk</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic7040/message26852/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic7040/message26852/</guid>
			<pubDate>Wed, 28 Jan 2009 03:51:51 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>RESOLVED: Need help with regular expression</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic7040/message26848/">RESOLVED: Need help with regular expression</a></b> <i>I don't understand RegExpBlindMatch=</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			This is my expression:<br /><br />^(\w+\b.*?){3} <br /><br />It returns the first three words.<br /><br />This expression works great, but I want to use what is returned in my macro.<br /><br />Right now my macro returns the word after the expression.<br /><br />For example:<br /><br />This is my string:<br /><br />Jason Matthew Gottschalk commented on your status:<br />This expression: ^(\w+\b.*?){3} returns Jason Matthew Gottschalk<br /><br />Here is my Macro:<br /><br />%SetPattRegExp="^(\w+\b.*?){3}"%-<br />%RegExpBlindMatch="%Text"%-<br />%SubPatt="2" %SetPattRegExp="(?is)(.*?)status:\s\n(.*?)\n"%-<br />%RegExpBlindMatch="%Text"%- <br />%SubPatt="2" <br />%ModifyOnce("Subject")%-<br />%Subject="FB Comment"%-<br /><br />It should return:<br />Jason Matthew Gottschalk<br />Blah Blah Blah<br /><br />But it returns:<br />&lt;blank line&gt;<br />Blah Blah Blah<br /><br /><br /><br />How do I get the macro to return the first three words of the string?<br /><br />Thanks,<br />Jason <br />
			<i>28 January 2009 00:58:17, <a href="http://www.ritlabs.com/en/forums/">Jason Gottschalk</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic7040/message26848/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic7040/message26848/</guid>
			<pubDate>Wed, 28 Jan 2009 00:58:17 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
	</channel>
</rss>
