|
Mortis Beginner
Joined: 10 Feb 2004 Posts: 21 Location: Sweden
|
Posted: Tue Nov 07, 2006 9:18 pm
Pattern matching strings. |
Hello, I have a question I have been unable to solve myself.
If I were to use a string list in my pattern, like this:
#trigger {{@StringList}} {#say %1}
(I realize that %1 doesn't work, only wanted to show the problem)
Is there any way zmud can tell me which string that was found when the pattern triggered.
The pattern I'm using is "^ (*){@StringList}(*)$". |
|
_________________ When you lose, dont lose the lesson. |
|
|
|
Mortis Beginner
Joined: 10 Feb 2004 Posts: 21 Location: Sweden
|
Posted: Tue Nov 07, 2006 10:37 pm |
Ah, Pattern should be ({@StringList}), forgot the "()". Problem solved.
|
|
_________________ When you lose, dont lose the lesson. |
|
|
|
|
|