updating regex to identify mostly just cursor and style codes
updating regex to identify mostly just cursor and style codes
updating test.js to also test that only sequence is matching