Advertisement
cyberbob61

Untitled

May 9th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. nocproject Huawei Eudemon8000E-X3
  2. pattern = re.compile(
  3. r"Huawei Versatile Routing Platform Software.*?"
  4. r"Software Version:VRP \(R\) Software, Version (?P<version>\d+\.\d+).*?"
  5. r"(?P<platform>[A-Z0-9]+-[A-Z0-9]+)."
  6. r"(?P<image>[^)]+)",
  7. re.MULTILINE | re.DOTALL | re.IGNORECASE
  8. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement