02-19-2008 10:53 AM - edited 03-15-2019 08:56 AM
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 "(" ?
Solved! Go to Solution.
02-19-2008 11:34 AM
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
02-19-2008 11:34 AM
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
02-19-2008 11:47 AM
that helped thanks!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide