Fix regex warning