Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Haldrik
Wanderer


Joined: 03 Sep 2007
Posts: 88

PostPosted: Sat Sep 15, 2007 1:15 am   

RegEx Trigger Bug?
 
(wand|statue|scroll|orb|crystal|potion|moss|leaf|flask|amulet|ring)

This is my trigger. RegEX.


It is triggering on the word

"Devouring"

Notice its triggering off the word ring.


Is it supposed to do that? If so, can i stop it ? :)

Thanks.
Reply with quote
Arlie
Wanderer


Joined: 09 Jun 2006
Posts: 62
Location: Florida

PostPosted: Sat Sep 15, 2007 2:00 am   
 
Yes, the way that's set up. If you want it to match ONLY that word, try something like...

\b(wand|statue|scroll|orb|crystal|potion|moss|leaf|flask|amulet|ring)\b

if I'm not mistaken.
Reply with quote
Haldrik
Wanderer


Joined: 03 Sep 2007
Posts: 88

PostPosted: Sat Sep 15, 2007 8:38 am   
 
You sir, are a genious!! :)


Thank you :)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net