Test, validate and match regular expressions
This regex parses log lines from a MUD-like game (likely DSL) who listing, capturing player names, wanted status, and clan affiliations. It matches a timestamp in brackets followed by a bracketed/parenthesized name, an optional '(WANTED)' flag, and a clan name. Useful for parsing game logs to extract player and clan information.