added support to escaped chars. closes #22