Learn Before
Concept
Lookhead Assertion
There will be times when we need to predict the future: look ahead in the text to see if some pattern matches, but not advance the match cursor, so that we can then deal with the pattern if it occurs.
0
1
Updated 2022-06-19
Tags
Data Science
Related
Regular expression reference
Basic Regular Expression Patterns
Operator precedence hierarchy
Greedy/ non-greedy matching
False positive and false negative errors for regex matching
Regular Expression Cheatsheet
Capture Group
Non-capturing Group
Lookhead Assertion
Greedy Matching in Regular Expression
Non-greedy Matching in Regular Expression