|
gawen Newbie
Joined: 15 Dec 2012 Posts: 8
|
Posted: 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 |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: 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 |
|
|
|
gawen Newbie
Joined: 15 Dec 2012 Posts: 8
|
Posted: 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? |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: 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 |
|
|
|
gawen Newbie
Joined: 15 Dec 2012 Posts: 8
|
Posted: Sun Jun 11, 2017 6:10 pm |
Alright. Thank you
A separate trigger for each will definetly work. |
|
|
|
|
|