Page 1 of 1

Added a new Tips & Tricks to the main site.

Posted: December 15th, 2011, 8:23 pm
by jsmorley
An explanation of how to use "Lookahead assertions" in regular expressions in Rainmeter / WebParser.

http://rainmeter.net/cms/Tips-LookAhead

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

Posted: August 15th, 2012, 8:22 am
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.