Add a rule for matching a generic regex.

This should help with fedora-infra/fmn#23.