0 votes
in Regression Analysis by
What is lookahead in Regular expressions?

1 Answer

0 votes
by

It is working towords to the right to see if match is exist 

Positive Lookahead:

If successful match to the right 

positive lookahead is specified with ( ?=...)

Ex: (?=\d)  successful where digit comes right 

Negative Lookahead:

If successful not match to the right 

positive lookahead is specified with ( ?!=...)

...