Regex didn't escape everything correctly.
I don't think assignment was the correct operator.