Exclude symbol "-" does not work to filter out indices

Hi teams,

I want to setup some snapshot settings, and I want to only back up indices those name start with non-dot, I tried with pattern " -.* " and " *, -.* ", but found these patterns does not work.
I tried to setup the snapshot with both kibana-> Stack Management -> Snapshot and Restore and command like this: PUT /_slm/policy/my-snapshot-policy, both two ways does not work.

I also tried with this command: "GET /_cat/indices/-.*?v", then I found that the result is empty.

I found there is a issue ticket here: snapshot with exclude expression `-` does not work if you specify explicit index name · Issue #83435 · elastic/elasticsearch · GitHub , which is similar with my issue, any suggestions to fix this issue?

My ES version is v8.11.1

thanks