Better regullar expression for assignments. Fixes #29