Escaping of special chars with ^ added
Escaping space with caret fixed. TODO updated.