Test, validate and match regular expressions
This regex is designed to extract metadata from the output of the `ncdump` command, which is used to inspect NetCDF files. It specifically captures the parameter's variable name, its long descriptive text, and optionally its associated units into named groups. This is highly useful for automating the parsing of scientific data attributes and documentation from structured climate or model datasets.