It is currently April 19th, 2024, 2:51 pm

A RegExp in Tips and Tricks doesn't work anymore

Discussions 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

Post by rm_lion »

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: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

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

Post by jsmorley »

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