Test, validate and match regular expressions
This regex matches a Java annotation @ConfigField with name and value parameters, an optional comment block containing multiple string entries, and a following public static field declaration. It captures the field name, value, comment lines, type, and variable name for parsing configuration metadata in Java source code. Useful for static analysis, code generation, or extracting settings.