regex was not finished (missing $ at end)