Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Values Tab - Regular Expression Question
#21
OK, I figured this one out, which required digging into the regular expression stuff quite a bit which led to some good improvements in there.
Dean Roddey
Explorans limites defectum
Reply
#22
OK, as of 5.3.942 this should work:

([0-9]|[0-9][0-9]|[0-9][0-9][0-9])(\.[0-9])?

So either 1, 2 or 3 digits, followed by an optional .x decimal digit, being sure of course to escape the period otherwise it will match any character.
Dean Roddey
Explorans limites defectum
Reply
#23
Ok! Thanks, I'll try it next time I upgrade...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  SSL Certificate Question gReatAutomation 1 628 10-26-2020, 07:48 AM
Last Post: gReatAutomation
  V2 Question - OpenWeatherMap Using their New JSON Data Feed kblagron 7 1,572 05-07-2020, 01:40 PM
Last Post: Dean Roddey
  Dynamic Overlay Question bryanb 4 904 04-17-2020, 03:48 AM
Last Post: bryanb
  Triggered Event on Timer Question znelbok 7 2,658 12-09-2019, 02:10 PM
Last Post: znelbok
  Question on CQC Driver Pack Install kblagron 1 955 11-26-2019, 06:38 PM
Last Post: Dean Roddey
  Regular Expression in Comp Val gReatAutomation 30 7,782 09-18-2019, 04:35 AM
Last Post: gReatAutomation
  SONOS Driver Question gReatAutomation 13 4,147 08-23-2019, 12:37 PM
Last Post: Dean Roddey
  Runtime Values gReatAutomation 4 984 08-12-2019, 06:07 PM
Last Post: gReatAutomation
  Insteon V2 Driver Question kblagron 1 927 08-01-2019, 10:51 AM
Last Post: kblagron
  Question on Parsing a String in a CML Macro kblagron 2 1,198 06-18-2019, 06:21 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)