Build, test, and debug regular expressions
This regex validates CSS length values, matching an optional negative sign followed by a number and a valid CSS unit (em, ex, %, px, cm, mm, in, pt, pc, ch, rem, vh, vw, vmin, vmax), or simply the number 0. It is useful for verifying input in CSS parsers or style validators.