name change fix lines/rows problems 1st regex

regex "A=B(+-*)C
added regex + squarematrix method