It is currently March 28th, 2024, 9:56 am

Added a new Tips & Tricks to the main site.

Discussions about the documentation, main Rainmeter site and forums.
Post Reply
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Added a new Tips & Tricks to the main site.

Post by jsmorley »

An explanation of how to use "Lookahead assertions" in regular expressions in Rainmeter / WebParser.

http://rainmeter.net/cms/Tips-LookAhead
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Added a new Tips & Tricks to the main site.

Post by MerlinTheRed »

Thanks for that. I only recently discovered lookaheads when I was writing the syntax definition for the sublime package, and found them extremely useful. This entry will hopefully help more people notice them sooner.

Of course you can't start to explain all the Lookaround functionality, but I think it might be nice if you included that you can also do a negative lookahead with (?!something) somewhere in there.
Post Reply