Test, validate and match regular expressions
Matches bracketed qualifier expressions like [name|key="value"] with optional :: namespace separators. The pattern captures an opening bracket with letters, a pipe separator, attribute names (letters or :: sequences), an equals sign, and quoted values containing word characters, whitespace, or ::-prefixed tokens. Commonly used for parsing Magic Set Editor (MSE) template/script syntax or similar bracketed attribute formats, applied globally across multiple lines.