Answer the question
In order to leave comments, you need to log in
How does the assertion about the following text in the middle of a regular expression work?
For example, the expression abc(?!\w)\s*
Correctly, I understand that it works like this: first it finds abc, then it looks that after abc it is not a dictionary character, if successful, it looks for spaces from the same position after abc? And the text fits under it: "abc!", "abc!", "abc".
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question