Support named matching groups in category patterns

I don’t know how much work this would take but it would be really nice if I could do this for example Discord \| (?P<channel>#[a-z-]+) \| (?P<server>[\w ]+) — Mozilla Firefox to then be able to see which servers and channels I spend most time in.
Obviously not an essential feature but would be very cool