An explanation of how to use "Lookahead assertions" in regular expressions in Rainmeter / WebParser.
http://rainmeter.net/cms/Tips-LookAhead
It is currently March 29th, 2024, 10:51 am
Added a new Tips & Tricks to the main site.
-
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
-
- Rainmeter Sage
- Posts: 889
- Joined: September 6th, 2011, 6:34 am
Re: Added a new Tips & Tricks to the main site.
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.
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.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!