 |
Cuttlefish Apprentice
Joined: 28 Oct 2003 Posts: 164
|
Posted: Thu Nov 06, 2003 6:23 pm
Bug: pattern tester with non-default quote |
I sort of alluded to this in another post about special characters. First, I've changed my quote char from ~ to because my mud uses ~ in it's emotes.
I have the following pattern in a trigger:
#TRIGGER {^(*) ([)(%w)(])} {#PCOL $FF0033 %x1; #PCOL $0033FF %x2;#PCOL $0099FF %x3;#PCOL $0033FF %x4}
So the pattern is:
^(*) ([)(%w)(])
This matches Armageddon room names:
Room Name [NEW]
The problem is that if I test this pattern against "Room Name [NEW]", zMUD claims that the pattern doesn't match. However, if I change the pattern to "^(*) (~[)(%w)(~])" and test it against "Room Name [NEW]", it says it matches. This is wrong since I've changed my quote char.
FYI: I can replicate this using a simple trigger that just has the pattern:
[
Yet once I'm actually playing the game, the trigger works fine and I get technicolored room names. It looks like it's just a bug in the tester where it doesn't respect non-default special characters. |
|
|
|
 |
Cuttlefish Apprentice
Joined: 28 Oct 2003 Posts: 164
|
Posted: Sat Nov 08, 2003 8:05 pm |
Can anyone else please confirm this before I fill out a bug report?
|
|
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Nov 08, 2003 9:52 pm |
Since I don't think Zugg ever uses the back-tick character for anything (the un-sifted symbol on the key containing the default quote character, ~), it looks like a bug.
|
|
|
|
 |
|
|
|