Javascript Regular Expression Not Failing When I Think It Should
My code: let g_Check = /^[a-z]+[a-z -.]{0,25}$/i; let bl = g_Check.test("abc*"de"); // returns true, when I think it should return false because of the '*' and '"' As you can see it returns true, when I think it should return…