Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Parse rule does not parse the fields with "\"

SA-35740

Summary



Parse an CSV file using Parse Delimited rule and calling the rule from activity using "Apply-Parse-Delimited". CSV file having odd number of "\", does not parse the field.

Error Messages



Error while parsing: Invalid escape sequence. Escape character must be followed by either field delimiter


Steps to Reproduce

1. Create a parse delimited rule with filed format as CSV.
2. Provide one \ in one of the filed in CSV file.
3. Run the Parse rule and provide the CSV file as input.


Root Cause



Not Applicable

Resolution



Perform the following local-change:

Use either "\\" or "/" in the parse rule.

Published April 11, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us