What does '!' mean in a route pattern?

Prepare for the Cisco CLCOR 350-801 exam with detailed flashcards and multiple choice questions. Understand core technologies, and explore hints and explanations for a comprehensive learning experience. Equip yourself for success!

Multiple Choice

What does '!' mean in a route pattern?

Explanation:
In route pattern matching, wildcards determine how digits are consumed. The exclamation mark acts as a variable-length wildcard: it stands for zero or more digits that can follow the fixed prefix. This lets a single pattern cover numbers of different lengths without listing every possibility. For example, a pattern like 9! would match numbers that start with 9, such as 9, 91, 9123, 9123456, and so on. It’s not a literal character, nor does it indicate the end of the pattern or represent a single optional digit. That’s why it’s the correct interpretation.

In route pattern matching, wildcards determine how digits are consumed. The exclamation mark acts as a variable-length wildcard: it stands for zero or more digits that can follow the fixed prefix. This lets a single pattern cover numbers of different lengths without listing every possibility. For example, a pattern like 9! would match numbers that start with 9, such as 9, 91, 9123, 9123456, and so on. It’s not a literal character, nor does it indicate the end of the pattern or represent a single optional digit. That’s why it’s the correct interpretation.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy