add some === and dont construct the regexp every time