Make sure complete regex matched, not just a part of it