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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
gawen
Newbie


Joined: 15 Dec 2012
Posts: 8

PostPosted: Sat Jun 10, 2017 11:41 pm   

wildcards in mxptriggers
 
I can't seen to match mxp tags with wildcards.

For instance: I can match <i4> with an i4 mxp trigger but cant with either i* or i\d+ or *

I can't find any reference to it anywhere
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4662
Location: Pensacola, FL, USA

PostPosted: Sat Jun 10, 2017 11:50 pm   
 
Looks like you are trying to use raw regex, try toggling the regex box at the option panel at the bottom of the trigger in the GUI
_________________
Discord: Shalimarwildcat
Reply with quote
gawen
Newbie


Joined: 15 Dec 2012
Posts: 8

PostPosted: Sun Jun 11, 2017 5:16 am   
 
I tried the raw regex (and toggled the box) and zscript pattern matching but nothing matched.

But from your response i take that it should be possible to match a mxp tag with wildcards, right?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4662
Location: Pensacola, FL, USA

PostPosted: Sun Jun 11, 2017 11:13 am   
 
To be honest, I am not sure, I have not used that particular feature very often.
However, it should be possible to make a separate trigger for each variation if it's not.
Would like show better performance separated out as well.
_________________
Discord: Shalimarwildcat
Reply with quote
gawen
Newbie


Joined: 15 Dec 2012
Posts: 8

PostPosted: Sun Jun 11, 2017 6:10 pm   
 
Alright. Thank you
A separate trigger for each will definetly work.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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