Added rails start of string and end of string
anchors to the model regex where necessary.