missing $ in pos regex