How to match alert labels with case insensitive value

I’m looking for solutions to these 2 uses cases:

  1. On Alert Rules page search by a label but using a case insensitive value

  1. On Alert List panel filter by a label but using a case insensitive value

At the moment I don’t see a way to pass the i flag to new RegExp (https://github.com/grafana/grafana/blob/bb798e24f3c37540b6624c26e173d9357d641539/public/app/features/alerting/unified/utils/alertmanager.ts#L198)

Is there any way to achieve case insensitive filtering in these cases?