Build, test, and debug regular expressions
This regex matches for...in loop structures in programming code, capturing up to three comma-separated variables before the 'in' keyword and the iterated object or collection after it. Specifically, it extracts the variable name(s) into the first capture group and the target iterable, which can include dotted namespaces, into the second capture group. It is highly useful for static code analysis, custom linters, or parsing logic statements.