^start of line
wlan the literal text wlan (case sensitive) \S+any non-whitespace character, repeated at least once
.*any character (except for line terminators), repeated any number of times
Non-Capturing Group(?:\n(?!wlan|.*?\bdot1 authent\b).*)* *repeats the group contents below any number of times:
\na line-feed (newline) character (ASCII 10)
Negative Lookahead(?!wlan|.*?\bdot1 authent\b) wlanthe literal text wlan (case sensitive) 2nd Alternative.*?\bdot1 authent\b .*?any character (except for line terminators), repeated any number of times
\ban ASCII word boundary
dot1 authentthe literal text dot1 authent (case sensitive) \ban ASCII word boundary
.*any character (except for line terminators), repeated any number of times
\na line-feed (newline) character (ASCII 10)
.*?any character (except for line terminators), repeated any number of times
\ban ASCII word boundary
dot1 authentthe literal text dot1 authent (case sensitive) \ban ASCII word boundary
.+any character (except for line terminators), repeated at least once
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string