Build, test, and debug regular expressions
Matches content enclosed in square brackets, including word-character tokens, colon-separated patterns like ':value', and non-word characters. Useful for parsing bracketed tokens, placeholders, or annotations in text such as template variables like [name] or [key:value]. Be aware the nested quantifiers with alternation may cause catastrophic backtracking on certain inputs.