Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Expersions in Actions
I think I remember this being mentioned in a beta thread post, but I can't find it to confirm it, but can we do regex in action commands

I want to run an if statement with a reg. expression and I don't want to be chasing my tail trying to get it to work if they are not supported or if there is a specific syntax required to get them to work.

Mykel Koblenz
Illawarra Smart Home
There is a regular expression action command parameter type, but as of yet nothing uses it. So there's no direct way of invoking a regular expression in terms of "if X matches regular expression Y". That wouldn't be terribly difficult to add, but it's not there now.
Dean Roddey
Explorans limites defectum

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pause / Resume Triggered or Scheduled Actions from the Interface Viewer gReatAutomation 2 2,334 10-30-2019, 01:38 PM
Last Post: gReatAutomation
  Regular Expression in Comp Val gReatAutomation 30 11,080 09-18-2019, 04:35 AM
Last Post: gReatAutomation
  Values Tab - Regular Expression Question bryanb 22 8,343 03-30-2019, 04:07 PM
Last Post: rbroders
  Some workarounds to copy/paste Actions RichardU 3 2,383 01-19-2018, 09:34 AM
Last Post: Dean Roddey
  Saving Global Actions RichardU 1 1,647 12-20-2017, 11:18 AM
Last Post: Dean Roddey
  String list in actions znelbok 3 2,878 11-06-2017, 04:10 PM
Last Post: Dean Roddey
  Cant use fields of Denon driver in global actions George M 4 4,270 12-18-2016, 06:21 PM
Last Post: Dean Roddey
  Bug with the Echo and nested global actions? dlmorgan999 2 2,981 12-18-2016, 01:07 PM
Last Post: dlmorgan999
  Template actions? dlmorgan999 3 3,044 11-02-2016, 05:59 PM
Last Post: Dean Roddey
  Global actions in 5.0, or what am I doing wrong pasha 9 4,789 09-26-2016, 08:03 PM
Last Post: pasha

Forum Jump:

Users browsing this thread: 1 Guest(s)