Test, validate and match regular expressions
Matches a simple Java while loop declaration line that contains the 'while' keyword followed by a single word condition in parentheses and an opening brace. Captures the condition variable/expression in group 1. Useful for parsing or analyzing Java source code structure.