networklore / nelkit

Home Page:https://networklore.com/nelkit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

regular expressions in baseline

simplexify opened this issue · comments

Hi

Very useful piece of software, I like it a lot.

The current implementation seems to only allow for matching against exact lines in the baseline file.

Would it be possible to change the comparison, so it allows for comparing against a regex pattern?

Simple example: check if the loopback100 interface has a description set. The baseline file for this could look like this:

^interface Loopback100$
^\ description.*$

Thanks

commented

This would be a great feature!