<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Learn GREP from The InDesigner on Lynda.com</title>
	<atom:link href="http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom/feed" rel="self" type="application/rss+xml" />
	<link>http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom</link>
	<description>information. instruction. insight.</description>
	<lastBuildDate>Thu, 22 Sep 2011 20:29:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Jensedhi</title>
		<link>http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom/comment-page-1#comment-1785</link>
		<dc:creator>Jensedhi</dc:creator>
		<pubDate>Tue, 27 Jul 2010 15:39:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom#comment-1785</guid>
		<description>Thanks Michael. I&#039;ll be sure to check back in and keep trying myself.</description>
		<content:encoded><![CDATA[<p>Thanks Michael. I&#8217;ll be sure to check back in and keep trying myself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Murphy</title>
		<link>http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom/comment-page-1#comment-1784</link>
		<dc:creator>Michael Murphy</dc:creator>
		<pubDate>Tue, 27 Jul 2010 13:59:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom#comment-1784</guid>
		<description>I&#039;ve tried coming up with a universal method for defining all web sites with one GREP pattern, as I did in the Lynda.com video where I defined every possible e-mail address with one expression. The problem is, e-mail addresses are limited by more strict rules than URLs. A web address can have multiple domains, and people can type them with or without the http:// or the www. in a document (as opposed to e-mail addresses, which must be typed correctly or they&#039;re incorrect). I have yet to find a solution that doesn&#039;t break other things. The challenge is accounting for an http:// that may or may not be there, a www. that may or may not be there, a full domain, a secondary domain that may or may not exist, and some URLs have a slash and specific directory following them. That&#039;s another challenge. I haven&#039;t given up, but I&#039;ve put that problem aside for now. If I resolve it, I&#039;ll post it here.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried coming up with a universal method for defining all web sites with one GREP pattern, as I did in the Lynda.com video where I defined every possible e-mail address with one expression. The problem is, e-mail addresses are limited by more strict rules than URLs. A web address can have multiple domains, and people can type them with or without the http:// or the www. in a document (as opposed to e-mail addresses, which must be typed correctly or they&#8217;re incorrect). I have yet to find a solution that doesn&#8217;t break other things. The challenge is accounting for an http:// that may or may not be there, a www. that may or may not be there, a full domain, a secondary domain that may or may not exist, and some URLs have a slash and specific directory following them. That&#8217;s another challenge. I haven&#8217;t given up, but I&#8217;ve put that problem aside for now. If I resolve it, I&#8217;ll post it here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jensedhi</title>
		<link>http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom/comment-page-1#comment-1783</link>
		<dc:creator>Jensedhi</dc:creator>
		<pubDate>Tue, 27 Jul 2010 13:09:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom#comment-1783</guid>
		<description>Hi Michael, first, thanks for posting your tutorial on lynda.com, it is the most comprehensive outline to GREP styles I&#039;ve found thus far. 

I have a question in regards to a style for websites. How do you account for the differences for sites that have include the www (or http) vs ones that don&#039;t as well as those that have a path after the .com vs those that don&#039;t. The closest style I could come up with is 
(www&#124;http).\w+\.(gov&#124;com&#124;edu&#124;org) 
but it doesn&#039;t include everything. Do you have any suggestions?</description>
		<content:encoded><![CDATA[<p>Hi Michael, first, thanks for posting your tutorial on lynda.com, it is the most comprehensive outline to GREP styles I&#8217;ve found thus far. </p>
<p>I have a question in regards to a style for websites. How do you account for the differences for sites that have include the www (or http) vs ones that don&#8217;t as well as those that have a path after the .com vs those that don&#8217;t. The closest style I could come up with is<br />
(www|http).\w+\.(gov|com|edu|org)<br />
but it doesn&#8217;t include everything. Do you have any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Murphy</title>
		<link>http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom/comment-page-1#comment-1725</link>
		<dc:creator>Michael Murphy</dc:creator>
		<pubDate>Fri, 19 Mar 2010 03:17:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom#comment-1725</guid>
		<description>This is the unfortunate either/or choice between GREP Styles and GREP Find/Change. GREP Styles do one thing -- apply character styles -- but they do it dynamically. GREP Find/Change does more -- re-arranges and modifies found text -- but it&#039;s permanent. You just have to choose which is the best compromise for your needs on any given task or project.</description>
		<content:encoded><![CDATA[<p>This is the unfortunate either/or choice between GREP Styles and GREP Find/Change. GREP Styles do one thing &#8212; apply character styles &#8212; but they do it dynamically. GREP Find/Change does more &#8212; re-arranges and modifies found text &#8212; but it&#8217;s permanent. You just have to choose which is the best compromise for your needs on any given task or project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vpaulsmithjr</title>
		<link>http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom/comment-page-1#comment-1724</link>
		<dc:creator>vpaulsmithjr</dc:creator>
		<pubDate>Fri, 19 Mar 2010 03:01:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom#comment-1724</guid>
		<description>Is there a way to have dynamic changing of phone numbers using GREP Styles? I only that you can apply a character style, but that won&#039;t add the parentheses, etc. And Find/Change permanently changes the text. Is there a solution?</description>
		<content:encoded><![CDATA[<p>Is there a way to have dynamic changing of phone numbers using GREP Styles? I only that you can apply a character style, but that won&#8217;t add the parentheses, etc. And Find/Change permanently changes the text. Is there a solution?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paeon</title>
		<link>http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom/comment-page-1#comment-1694</link>
		<dc:creator>Paeon</dc:creator>
		<pubDate>Tue, 01 Dec 2009 20:05:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom#comment-1694</guid>
		<description>Thanks, Michael. I&#039;ll give that a try.</description>
		<content:encoded><![CDATA[<p>Thanks, Michael. I&#8217;ll give that a try.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Murphy</title>
		<link>http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom/comment-page-1#comment-1693</link>
		<dc:creator>Michael Murphy</dc:creator>
		<pubDate>Tue, 01 Dec 2009 14:11:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom#comment-1693</guid>
		<description>@lowjackson -- GREP Styles exist to get around exactly that limitation of Nested Styles. If you need to find every instance of a product name (i.e. &quot;SuperWidget&quot;), just create a GREP Style using the text &quot;SuperWidget&quot; and choose the appropriate character style to be applied to it.</description>
		<content:encoded><![CDATA[<p>@lowjackson &#8212; GREP Styles exist to get around exactly that limitation of Nested Styles. If you need to find every instance of a product name (i.e. &#8220;SuperWidget&#8221;), just create a GREP Style using the text &#8220;SuperWidget&#8221; and choose the appropriate character style to be applied to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Murphy</title>
		<link>http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom/comment-page-1#comment-1692</link>
		<dc:creator>Michael Murphy</dc:creator>
		<pubDate>Tue, 01 Dec 2009 14:09:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom#comment-1692</guid>
		<description>@Paeon -- The only workaround I can think of is to put a unique invisible character around the first instance of the word/phrase (like an End Nested Style character), but not around any of the others. Then, write a GREP expression that requires that unique character be present using Positive Lookahead and/or Lookbehind to apply the &quot;first instance&quot; style. Another GREP expression could describe the word/phrase but only if it &lt;em&gt;isn&#039;t&lt;/em&gt; preceded or followed by that unique character (using Negative Lookahead and/or Lookbehind). There&#039;s no GREP expression that determines &quot;first instance&quot; in one step.</description>
		<content:encoded><![CDATA[<p>@Paeon &#8212; The only workaround I can think of is to put a unique invisible character around the first instance of the word/phrase (like an End Nested Style character), but not around any of the others. Then, write a GREP expression that requires that unique character be present using Positive Lookahead and/or Lookbehind to apply the &#8220;first instance&#8221; style. Another GREP expression could describe the word/phrase but only if it <em>isn&#8217;t</em> preceded or followed by that unique character (using Negative Lookahead and/or Lookbehind). There&#8217;s no GREP expression that determines &#8220;first instance&#8221; in one step.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lowjackson</title>
		<link>http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom/comment-page-1#comment-1691</link>
		<dc:creator>lowjackson</dc:creator>
		<pubDate>Tue, 01 Dec 2009 13:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom#comment-1691</guid>
		<description>Paeon
It would be great if your could set Nested Style to an exact &quot;Word&quot; or &quot;Small Phrase&quot;. Anyone know if this is possible?</description>
		<content:encoded><![CDATA[<p>Paeon<br />
It would be great if your could set Nested Style to an exact &#8220;Word&#8221; or &#8220;Small Phrase&#8221;. Anyone know if this is possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paeon</title>
		<link>http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom/comment-page-1#comment-1690</link>
		<dc:creator>Paeon</dc:creator>
		<pubDate>Mon, 30 Nov 2009 18:16:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.theindesigner.com/blog/learn-grep-from-the-indesigner-on-lyndacom#comment-1690</guid>
		<description>Wonderful course, explained in English, with tips about undocumented GREP metacharacters.

So, I have a question. Is it possible using GREP to find the first instance of a word and style it one way, but find further instances of a word and style it differently? Client wants the first instance of a term styled, but not any further occurrences. I can&#039;t make head or tail out of UNIX guides, but there did seem to be a /m metacharacter for first instance. Any help would be appreciated.</description>
		<content:encoded><![CDATA[<p>Wonderful course, explained in English, with tips about undocumented GREP metacharacters.</p>
<p>So, I have a question. Is it possible using GREP to find the first instance of a word and style it one way, but find further instances of a word and style it differently? Client wants the first instance of a term styled, but not any further occurrences. I can&#8217;t make head or tail out of UNIX guides, but there did seem to be a /m metacharacter for first instance. Any help would be appreciated.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

