Remove catch-all regex on IOS terminal plugin (#23858)

We have a list of specific messages that we scree-scrape and flag
them as legit errors.
However, we also have a catch-all regex that matches everything
starting with %.
That can cause issues on commands that return lines with that
character, like for example the 'crypto key generate'.

Fixes #23770
(cherry picked from commit 8517fbf936)
pull/23860/head
Ricardo Carrillo Cruz 9 years ago
parent a1c0c1582b
commit ee19b19984

@ -35,7 +35,7 @@ class TerminalModule(TerminalBase):
terminal_stderr_re = [
re.compile(r"% ?Error"),
re.compile(r"^% \w+", re.M),
#re.compile(r"^% \w+", re.M),
re.compile(r"% ?Bad secret"),
re.compile(r"invalid input", re.I),
re.compile(r"(?:incomplete|ambiguous) command", re.I),

Loading…
Cancel
Save