Filling and fontlocking

This is the big thing I spent the last two days working on. And somehow I managed to forget to PR.
Why do we need the `(any "]")` structures here? Wouldn't it suffice to use `(not "]")`? (Disclaimer: my only exposure to `rx` has so far been the emacs wiki article.)