Potential fix for code scanning alert no. 31: Inefficient regular expression (#4723)