Build, test, and debug regular expressions
This regular expression is designed for parsing command-line arguments by matching the initial command and any subsequent arguments that do not start with a hyphen. The first capture group isolates the base command (avoiding spaces and hyphens), while the second group matches space-separated values like filenames or inputs, effectively ignoring standard command-line flags. It is useful for extracting non-flag arguments from CLI inputs.