Contents |
![]() |
Look around assertions |
||||||||||||||||||||||||||||||||||||
Look around |
These non capturing, groups do not consume any part of the string. They just look ahead or back to see if the expression between the parentheses is true or false. Lookbehind assertions can only contain expressions with a fixed with, because they need to know at what point backwards in the string they have to start looking.
|