[#5] Add failing test case.
[#5] Escape head and tail parts when updating expression.
[#5] Update tests affected by change in expression.
Merge pull request #6 from 4degrees/5_escape_non_regular_expression_parts

[#5] Escape non-regular expression parts