today we have another regex feature to talk about: lookaheads and lookbehinds! I show how they can be used to validate surrounding text without matching it
– regex crash course:
playlist:
==========
twitch:
dicsord:
twitter:
github:
stream github:
I won’t ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you’d like to see please comment below!
source
This post was automatic generated with this wp-automatic-plugin
For some reason I don't really use regexes unless it's December.
Hey! What's that behind you?
You are a gem !
Thank you, always had problems understanding lookahead and lookbehind.
Could you please go back in time and post this yesterday? 🙂 Just had to learn negative look behind to remove using namespace std (so had to find missing std::).
Because some regex can be quite mysterious I quite like the idea of including a comment that describes what the regex should match on, and perhaps an example of a string and which part the regex is expected to match (and/or not match).
Strange. Why in final example regex match hello not Anthony?