It is currently June 25th, 2019, 12:30 am

A RegExp in Tips and Tricks doesn't work anymore

Discussion about the documentation, main Rainmeter site and forums.
User avatar
rm_lion
Posts: 93
Joined: December 27th, 2013, 4:04 pm
Location: Switzerland

A RegExp in Tips and Tricks doesn't work anymore

rm_lion » April 30th, 2014, 4:50 am

Hello,

I was reading this site http://docs.rainmeter.net/tips/webparser-using-stringindex2 and i noticed that the RegExp doesn't work.

Code: Select all

[MeasureSite]
Measure=Plugin
Plugin=WebParser
Url=http://feeds.gawker.com/lifehacker/full
RegExp="(?siU)<channel>.*<image>.*<title>(.*)</title>.*<link>(.*)</link>#Item##Item##Item#"
I think the RegExp should be replaced with this one:

Code: Select all

RegExp="(?siU)<title>(.*)</title>.*<link>(.*)</link>#Item##Item##Item#"
Kind regards,
lion
User avatar
jsmorley
Developer
Posts: 19268
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: A RegExp in Tips and Tricks doesn't work anymore

jsmorley » April 30th, 2014, 12:56 pm

Fixed. Thanks for the catch. They must have changed something in their feed.