moved escape characters into one place. todo - add escaping to cmds
changes in escpae charactes to work with REGEX, at least some