 |
Honka Newbie
Joined: 11 Jun 2006 Posts: 2
|
Posted: Sun Jun 11, 2006 1:23 am
making a color trigger to color only part of a line |
I am wondering how do you make a colour trigger that will only color the matching piece of the trigger. for example
The quick brown fox jumps over the lazy dog
and I only wanted to colour the word brown as in the example.
ok, figured that much out (#CW) but, modified question still
how would you make it so that "ten" is what you want coloured and it's in "atention" with CW it colors the whole word, how do you just tell it to colour that portion? |
|
|
 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4772 Location: Pensacola, FL, USA
|
Posted: Sun Jun 11, 2006 1:46 am |
surround the word or variable array with %q on either side, no space, that gives it an effective word boundry
|
|
_________________ Discord: Shalimarwildcat |
|
|
 |
Honka Newbie
Joined: 11 Jun 2006 Posts: 2
|
Posted: Sun Jun 11, 2006 2:10 am |
Thanks alot, that most definantly worked
|
|
|
 |
|
|