Actions
Bug #16275
closedAdd a generic method to escape regex chars in a string
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:
Description
We may want to use a given string in Rudder which may contains several regex chars that need to be escaped when passed to a regex intended input.
Obvious case is the "File content" technique and its replacement field.
The method will take the complete name of an already defined variable (i.e. prefix.name) and defined a prefix.name_escaped variable with the proper escaped string
Actions