Which of the following functions corresponds to one of the lookaround assertions?
Preconditions and postconditions
Match assertions and their function
Report a typo
Match the items from left and right columns
Negative lookahead
(?!pattern)Positive lookbehind
(?<=pattern)Positive lookahead
(?=pattern)Negative lookbehind
(?<!pattern) If the current position in the string is preceded by a particular pattern.
If the current position in the string is followed by a particular pattern.
If the current position in the string is not followed by a particular pattern.
If the current position in the string is not preceded by a particular pattern.
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.