A more general match for numbers with units/dimensions in plaintext. This is unoptimized, a bit rough, and leaves out plenty of units while including some oddities. Use it as the first step to something better if you're linting md files. This was good enough for my use case, which doesn't care much about match time but has to meet certain other restrictions on the re. The replacement character is the narrow non-breaking space, which keeps values+units together when rendering plaintext documents. Other document types don't care at all about this, and may render it as a regular "thin space" character, but may still respect the non-breaking char.