Fix #213 improve escape pattern