(?s)applies the following effective flags to the remainder of the pattern: s s modifier: single line. Allows a dot to match line terminators
\s*a Unicode whitespace character, repeated any number of times
\[the literal [ (9110 / 1338 / 5B16)
Negated Character Class[^\[\]]* *matches any number of characters outside the set below:
\[the literal [ (9110 / 1338 / 5B16)
\]the literal ] (9310 / 1358 / 5D16)
\]the literal ] (9310 / 1358 / 5D16)
Non-Capturing Group(?:(?:(?!\[[^\[\]]*\]).)+\[[^\[\]]*\])* *repeats the group contents below any number of times:
Non-Capturing Group(?:(?!\[[^\[\]]*\]).)+ +repeats the group contents below at least once:
Negative Lookahead(?!\[[^\[\]]*\]) \[the literal [ (9110 / 1338 / 5B16)
Negated Character Class[^\[\]]* *matches any number of characters outside the set below:
\[the literal [ (9110 / 1338 / 5B16)
\]the literal ] (9310 / 1358 / 5D16)
\]the literal ] (9310 / 1358 / 5D16)
.any Unicode character
\[the literal [ (9110 / 1338 / 5B16)
Negated Character Class[^\[\]]* *matches any number of characters outside the set below:
\[the literal [ (9110 / 1338 / 5B16)
\]the literal ] (9310 / 1358 / 5D16)
\]the literal ] (9310 / 1358 / 5D16)
\s*a Unicode whitespace character, repeated any number of times