nerdexam
Cisco

300-820 · Question #93

A call is sent by Cisco UCM to Expressway with a URI of [email protected]. If (7508...) @expc1a\.pod8\.test\.lab.* is the pattern string, what would be the replacement string of the…

The correct answer is C. \[email protected]\.test\.lab. In Expressway transforms, the pattern uses regex capturing groups defined by parentheses. The pattern (7508...) captures 8 digits starting with 7508 as group 1. In the replacement string, \1 is the back-reference that substitutes the captured group (e.g., '75080001'). The goal…

Cisco Expressway for Collaboration

Question

A call is sent by Cisco UCM to Expressway with a URI of [email protected]. If (7508...) @expc1a.pod8.test.lab.* is the pattern string, what would be the replacement string of the transform in Expressway to re-write the call so that it becomes [email protected]?

Options

How the community answered

(46 responses)
  • A
    9% (4)
  • B
    2% (1)
  • C
    85% (39)
  • D
    4% (2)

Explanation

In Expressway transforms, the pattern uses regex capturing groups defined by parentheses. The pattern (7508...) captures 8 digits starting with 7508 as group 1. In the replacement string, \1 is the back-reference that substitutes the captured group (e.g., '75080001'). The goal is to produce [email protected]. Option C, \[email protected]\.test\.lab, accomplishes this: \1 inserts the captured number, and the rest is the literal new domain. In a replacement string context, backslash-dot (\.) is interpreted as a literal dot, and an unescaped dot is also treated as a literal character (unlike in the search pattern). Options A and D contain extraneous trailing characters (@ and !). Option B uses \lab (missing the dot before 'lab') and an unnecessary .* suffix, making it incorrect.

Topics

#Expressway#Transformation Rules#Regular Expressions#URI Rewriting

Community Discussion

No community discussion yet for this question.

Full 300-820 Practice