How to handle backslash (\) in masked data?
search cancel

How to handle backslash (\) in masked data?


Article ID: 206698


Updated On:


CA Test Data Manager (Data Finder / Grid Tools)


In FDM, while masking the backslashes in the data are deleted. How to handle the \ (backslashe) in the masking data? Can FDM leave the backslashes as is and don't mask?


Release : 4.9

Component : CA Test Data Manager


Defect and backslash is not escaped with another backslash which caused the issue


The problem is not related to masking at all - it's about parsing the input file as it serves as escape character which allows to use delimiter character inside the value (among other usages).

Right now there is no possible way to ignore \ and \\ in the masking data. Need to escape the special characters with \ (backslash) and use the FDM version or above  The below are the examples with escape character which should work with the shared patch

. \" translates to "

. \| translates to |

. \\ translates to \.

Anything else translates to incorrect escape sequence which usually leads to dropped \ character.