It is currently March 28th, 2024, 5:43 pm
Get help with creating, editing & fixing problems with skins
Codger
Posts: 97 Joined: May 29th, 2017, 3:16 pm
Post
by Codger » August 11th, 2017, 1:35 pm
I've decided to start over and rework the skin from scratch.
In the following measure [ReallyOnline] returns a whole number 0 or greater. That is working fine.
I have a very poor grasp of regex and am getting a invalid substitute error but don't see why.
Code: Select all
[IsOnline]
Measure=String
String=[ReallyOnline]
RegExpSubstitute=1
Substitute="^[!^0]":Online,^[^0]:Offline
DynamicVariables=1
Codger
Posts: 97 Joined: May 29th, 2017, 3:16 pm
Post
by Codger » August 11th, 2017, 9:04 pm
dvo wrote: Code: Select all
Substitute="^[!^0]":"Online","^[^0]":"Offline"
missing some " " here and there?
Thank you. I thought I tried that but must have messed it up when I did. I see the logic of requiring the quotes in Regex mode. Makes sense now. Complete simple skin works now.