Is it possible to captures values with regex expressions in commands? For example I would love to rewritte the following command.
indexes: [
'timer for * seconds',
'set timer for * seconds',
'set a timer for * seconds',
'set the timer for * seconds',
],
It could be more dynamic with Regex, for example like this:
indexes: [/set [\S]* timer for ([\S]*) seconds/i],
I had a look at the code in artyom.js at line 274 but it's just testing. Maybe I'm missing out something, otherwise I just wanted to confirm that it's not implemented yet. Maybe I could go about that :)
Is it possible to captures values with regex expressions in commands? For example I would love to rewritte the following command.
It could be more dynamic with Regex, for example like this:
I had a look at the code in artyom.js at line 274 but it's just testing. Maybe I'm missing out something, otherwise I just wanted to confirm that it's not implemented yet. Maybe I could go about that :)