|
Soujirou Newbie
Joined: 26 Oct 2009 Posts: 7
|
Posted: Sun Jan 24, 2010 7:58 pm
Commands |
Alright, I know ^ and $, but can someone direct me to maybe a list of other similar things in terms of being exact with syntax? I'm trying to make an enemy list, but it colors every instance of the said syntax... confusing, but let me give an example...
Enemy Name: Jewel
Soujirou says: "I'd like some jewelery..."
The "Jewel" in jewelery is colored the enemy color; what command (similar to ^ and $) can I put in to tell it "just this, and only this."
Thanks in advance! |
|
|
|
daemoan.vermillious Apprentice
Joined: 28 Feb 2009 Posts: 135 Location: Chico, Ca
|
Posted: Sun Jan 24, 2010 9:08 pm |
if your useing cmud, theres a checkmark box in the options at the bottom for verbatim to match the pattern exactly
in fact explore those cause alot of them are useful |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sun Jan 24, 2010 9:15 pm |
%q or \b
These match on word boundaries, specifically on those that contain whitespace or punctuation. ie, %qJewel%q matches " Jewel " but doesn't match " starJewel ".
%y
I dunno what the regex equivalent is, but it matches on the same thing that %x does--but only at the start or end of lines. In other words "%y Ted" = "^%x Ted".
For more wildcards, check out the pattern matching symbols entry in the helpfile. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Sun Jan 24, 2010 9:38 pm |
Here is a page with syntax. Match
Here is another page with important info. #REG |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
Soujirou Newbie
Joined: 26 Oct 2009 Posts: 7
|
Posted: Sun Jan 24, 2010 9:39 pm |
Thanks very much!!
|
|
|
|
|
|