The point is that many programs completely ignore .cache
’s existence — when programs do actually use it, adding a backup exception is trivial, but having to manually find what’s actually cache in .config
(or, even worse, finding one SQLite database with the config and cache) complicates it.
(?=)
for positive lookahead and(?!)
for negative lookahead. Stick a<
in the middle for lookbehind.