01-17-2021 04:18 AM
Why there is a backward slash \ in this below after caret in "red color"
voice translation-rule 1 rule 1 /^\(12\)3\(45\)$/ /6\1\2/
Solved! Go to Solution.
01-17-2021 04:28 AM
01-17-2021 05:56 AM
A backwards slash is an escape character that tells the system to not interpret the next character as part of the special characters that exist in voice translations. In this specific case it’s as @Mohammed al Baqari wrote it defines the start of the slice of what to copy into a variable that can be used on the right hand side, aka on the replace site of the rule.
01-17-2021 05:58 AM - edited 01-17-2021 05:59 AM
FYI The outcome of your rule would be 61245 if the incoming number is exactly 12345.
01-17-2021 04:28 AM
01-17-2021 05:56 AM
A backwards slash is an escape character that tells the system to not interpret the next character as part of the special characters that exist in voice translations. In this specific case it’s as @Mohammed al Baqari wrote it defines the start of the slice of what to copy into a variable that can be used on the right hand side, aka on the replace site of the rule.
01-17-2021 05:58 AM - edited 01-17-2021 05:59 AM
FYI The outcome of your rule would be 61245 if the incoming number is exactly 12345.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: