Test, validate and match regular expressions
This regular expression matches simple key-value assignments separated by an equals sign, capturing the leading spaces, key, surrounding spaces, equals sign, and the value. It is particularly useful for parsing configuration files (like INI files), environment variables, or settings where assignments are formatted as `key = value`. The `gm` flags ensure it matches across multiple lines.