Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make TextTransform handle Regex Special Characters #380

Closed
RichiCoder1 opened this issue Aug 28, 2015 · 3 comments
Closed

Make TextTransform handle Regex Special Characters #380

RichiCoder1 opened this issue Aug 28, 2015 · 3 comments
Assignees
Milestone

Comments

@RichiCoder1
Copy link
Contributor

If I were to set the delimiters for TextTransform to $, it will break, as $ is a regex special character. TextTransform should handle this.

@devlead
Copy link
Member

devlead commented Sep 2, 2015

Wondering if it's just about escaping . $ ^ { [ ( | ) * + ? \ in the inputed key data?

@patriksvensson
Copy link
Member

Yes, that will probably work. We could always make sure that we escape the data for the user, but as a work around this should work.

@devlead
Copy link
Member

devlead commented Sep 2, 2015

@patriksvensson i agree think we should fix it in the code, basically when key added to expression we should escape like we do with quoting etc. in other areas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants