There’s a backslash missing between the “/” and the “.”:
RedirectMatch 301 ^(?!/\.well-known/acme-challenge/).* https://${funkwhale-sn}
In the funkwhale howto the config file is edited with sed and the backslash was not masked, I fixed it now. Thanks for pointing out.