cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
385
Views
4
Helpful
2
Replies

Voice Digit Translations

steigja
Level 3
Level 3

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 "(" ?

1 Accepted Solution

Accepted Solutions

Jaime Valencia
Cisco Employee
Cisco Employee

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

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml

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

HTH

HTH

java

if this helps, please rate

View solution in original post

2 Replies 2

Jaime Valencia
Cisco Employee
Cisco Employee

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

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml

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

HTH

HTH

java

if this helps, please rate

that helped thanks!!