Hi there, I'm trying to get latest version of MikroTik's RouterOS into the item as string value. The string is at this URL: http://www.mikrotik.com/download/CHANGELOG_5 and can be separated by regexp - its the first deciman number, in this case "5.21".
I'm really bad in regexps, but after struggle I constructed this regexp match:
[0-9]+(?:\.[0-9]*)
Which returns what I need.
But... how to put this regexp into the key?
It shoul look like:
web.page.regexp[https://www.mikrotik.com,download/CH...G_5,80,xxx,10]
where xxx will be the regexp, but it dodnt work, even when regexp quoted.
Any idea how to solve this?
Thank you!!!
I'm really bad in regexps, but after struggle I constructed this regexp match:
[0-9]+(?:\.[0-9]*)
Which returns what I need.
But... how to put this regexp into the key?
It shoul look like:
web.page.regexp[https://www.mikrotik.com,download/CH...G_5,80,xxx,10]
where xxx will be the regexp, but it dodnt work, even when regexp quoted.
Any idea how to solve this?
Thank you!!!
Comment