Code: Select all
[Variables]
Latitude=52.479699
Longitude=-1.902691
tZone= +2
[mLocLatLongTzone]
Measure=Plugin
Plugin=WebParser
; returns current time and time zone for given latitude and longitude
Url=https://www.timeanddate.com/time/zone/@#latitude#,#longitude#
RegExp="(?siU).*data-clock-showSeconds.*class=h1>(.*:.*):.*</span>.*Current Offset.*UTC/GMT(.*)hour"
FinishAction=[!EnableMeasureGroup LocDat] [!UpdateMeasure *]
UpdateRate=84600
[mLocalTime]
Measure=WebParser
Url=[mLocLatLongTzone]
StringIndex=1
Group=LocDat
Disabled=1
[mLocationTzone]
Measure=WebParser
Url=[mLocLatLongTzone]
StringIndex=2
IfMatch=#tZone#
IfNotMatchAction=[!WriteKeyValue Variables tZone [mLocationTzone] "#SettingsFile#"]
Group=LocDat
Disabled=1
[MeterString]
Meter=String
Error: "nothing to repeat" in IfMatch=+2 (aaaTesting\aaaTesting.ini - [mLocationTzone])
Does anyone know what causes the error and what I can do about it?