|  | 
	
	
		| Spectrum Beginner
 
 
 Joined: 13 Feb 2003
 Posts: 13
 Location: Philippines
 
 | 
			
			  |  Posted: Sat Sep 27, 2003 4:22 pm 
 Coloring specific words only.
 
 |  
				| Using #CW we could color certain words like doll.  Now my problem is when a word dollar comes in it collors the "doll" in dollar. So I just put a space after doll like this "doll " so it colors only dollar.  Now the problem is when a name like "Bodoll" comes in, if I put in the pattern " doll ", spaces before and after the word.  The word doll that comes on the start of the sentence and line of the zmud wont be colored.  How? 
 |  | 
	
	  |  | 
	
		|  | 
	
		| LightBulb MASTER
 
 
 Joined: 28 Nov 2000
 Posts: 4817
 Location: USA
 
 | 
			
			  |  Posted: Sat Sep 27, 2003 5:55 pm 
 |  
				| You can use the anchor characters, ^ and $, to indicate the beginning and end of a line. 
 |  | 
	
	  |  | 
	
		|  | 
	
		| Spectrum Beginner
 
 
 Joined: 13 Feb 2003
 Posts: 13
 Location: Philippines
 
 | 
			
			  |  Posted: Wed Oct 01, 2003 2:27 pm 
 |  
				| but isnt the $ meaning end of the line? and ^ start of the line? what if its in the middle of a sentence? 
 |  | 
	
	  |  | 
	
		|  | 
	
		| LightBulb MASTER
 
 
 Joined: 28 Nov 2000
 Posts: 4817
 Location: USA
 
 | 
			
			  |  Posted: Wed Oct 01, 2003 4:17 pm 
 |  
				| If it comes in the middle of the line, you have a space in front of it and another space or punctuation after it. 
 I think you're hoping there's some magic way to put all this into one trigger. I don't think there is.
 |  | 
	
	  |  | 
	
		|  | 
	
		| Backu Novice
 
 
 Joined: 24 Feb 2003
 Posts: 36
 Location: USA
 
 | 
			
			  |  Posted: Thu Oct 02, 2003 4:47 am 
 |  
				| Using something Zugg told me once when I was having a similar problem, I would have to suggest using something like: 
 {^doll%s|%sdoll%s|%sdoll$} for the pattern, might work, might not, haven't really tried it lately.
 |  | 
	
	  |  | 
	
		|  | 
	
		|  | 
	
		|  |