Voice Digit Translations

Answered Question
Feb 19th, 2008
User Badges:

Can someone explain what exactly the "\" is doing in this example?

rule 1 /^\(758\)444\(5...\)$/ /\1\2/

thus when you dial 7584445111 it becomes 7585111. I see how the end shows the different sets and that it should become 7585111. why does the "\" need to change the meaning of the "(" ?

Correct Answer by Jaime Valencia about 9 years 4 months ago

it works as an escape character to indicate to take it as a separator and not as a digit or something to match

Voice Translation Rules


There are some examples in the above that can help you understand how this works


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)


This Discussion