Build, test, and debug regular expressions
This regex matches command-line style options and their optional values. It handles options prefixed with a dash or slash, option names that may be quoted, and values that are either quoted (single or double) or unquoted tokens separated by whitespace or an equals sign. It is useful for parsing command-line arguments in scripts, configuration tools, or applications that need to handle standard Unix or Windows style flags.