Use of $ in values while setting up a Classification Rule Builder rule
Description description
Environment
- Customer Journey Analytics
- Analytics
Issue/Symptoms
There are use cases when the revenue needs to be populated as the Classification value. It requires the usage of currency symbols, for example, $ for USD.
Usage of USD $2500 - $3000 for regex as the Classification value in a rule in the Classification Rule Builder will return an error. This is because the $ symbol denotes the end of the key in Regular Expressions.
Resolution resolution
Space can be used to escape $. For instance, a space between $ and the number will resolve the issue.
Example: USD $ 2500 - $ 3000
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f