The sysDescr string of the specific version of this switch and software that I'm
testing with contains 3 spaces before "Compiled" so the regexp wasn't matching.
Adding \s* before "Compiled" in the regexp to match a variable number of spaces
makes this match. This should be slightly more resilient to whatever format
changes Cisco might make in the future.
The sysDescr string of the specific version of this switch and software that I'm testing with contains 3 spaces before "Compiled" so the regexp wasn't matching. Adding \s* before "Compiled" in the regexp to match a variable number of spaces makes this match. This should be slightly more resilient to whatever format changes Cisco might make in the future.