How can you perform an exact match using regex for a group filter?
search cancel

How can you perform an exact match using regex for a group filter?

book

Article ID: 281979

calendar_today

Updated On: 04-11-2024

Products

Network Observability CA Performance Management

Issue/Introduction

We need to perform an explicit match and want to do it with regex.  How can this be done?

Environment

All supported Performance Management releases

Resolution

If you are trying to do an exact match, you would do something like:

^words$

With ^ denoting the start and $ denoting the end.  The above would only match the 3rd entry below:

  • wordstogether
  • words apart
  • words

So, if you wanted to only match the interfaces and not subinterfaces, you could do something like:

Interface Name matches regex: ^10ge0/1$ or ^10ge0/2$ or ^10ge0/3$