|
Zakarius Newbie
Joined: 17 Mar 2003 Posts: 5 Location: Canada
|
Posted: Sun Oct 05, 2003 7:36 pm
simple one; pattern matches only verbatim |
Greetings
{^|a}{smile}
I want to use an anchor in a list in a trigger such as above.
The anchor is recognized verbatim but I don't want that.
I want it to trigger on smile and asmile.
and I know this trigger makes no sense but it explains what I want to know.
I don't want to make two triggers.
Can anyone explain/help? |
|
|
|
user0101 Apprentice
Joined: 01 Aug 2003 Posts: 100 Location: USA
|
Posted: Sun Oct 05, 2003 8:48 pm |
#TRIGGER {^{asmile|smile} the rest of the trigger string here.}
If you know the exact words you want to trigger, this is a possible method. I think LightBulb mentioned something about how this is actually less efficient than creating two triggers though, which I tend to believe. |
|
|
|
Zakarius Newbie
Joined: 17 Mar 2003 Posts: 5 Location: Canada
|
Posted: Sun Oct 05, 2003 9:12 pm |
Thanks though I didn't explain fully and actually need smile anchored and asmile wouldn't be anchored
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sun Oct 05, 2003 10:07 pm |
If ^ is the first character inside the braces, it's a pattern of the type:
{^string} do not match the specified string
If it's not the first character, it's just another string character.
In either case, it's not an anchor.
You're right, this is a simple one. You already designed a test pattern, so you've probably already tested the pattern and know it doesn't work. Ask your real question about the real pattern you want to match, and include the reasons (beyond "I don't want to") why two triggers would be unacceptable.
If it's the typical list of names and #CW, nobody's ever come up with a satisfactory solution that I've seen and I've been watching people (myself included) struggle with it for years now. |
|
|
|
Zakarius Newbie
Joined: 17 Mar 2003 Posts: 5 Location: Canada
|
Posted: Mon Oct 06, 2003 1:22 am |
Greetings
So two triggers it is :O)
Thank you both for your answers. |
|
|
|
|
|