Update show_version.ts
This commit is contained in:
parent
1b85cde4bb
commit
5812e1742b
|
|
@ -25,7 +25,7 @@ const parseLog = (data: string) => {
|
|||
// 4. MEMORY & HARDWARE
|
||||
XRegExp('^(?<MEMORY>\\d+[KMG])\\s+bytes\\s+of\\s+physical\\s+memory', 'i'),
|
||||
XRegExp(
|
||||
'[Cc]isco\\s+(?<HARDWARE>\\S+).+?with\\s+(?<MEMORY>\\d+[KMG]\\/\\d+[KMG])\\s+bytes\\s+of\\s+memory',
|
||||
'[Cc]isco\\s+(?<HARDWARE>\\S+).+?with\\s+(?<MEMORY>\\d+[KMG](?:\\/\\d+[KMG])?)\\s+bytes\\s+of\\s+memory',
|
||||
'i'
|
||||
),
|
||||
// 5. Flash / Storage
|
||||
|
|
@ -33,7 +33,8 @@ const parseLog = (data: string) => {
|
|||
'^(?<USB_FLASH>\\d+[KMG])\\s+bytes\\s+of\\s+(?:' +
|
||||
'[Uu][Ss][Bb]+\\s+[Ff]lash' +
|
||||
'|ATA\\s+System\\s+CompactFlash.*' +
|
||||
'|flash\\s+memory\\s+at\\s+bootflash:' +
|
||||
'|[Ff]lash\\s+memory\\s+at\\s+(?:boot)?flash:' +
|
||||
'|[Ff]lash\\s+at\\s+flash:' +
|
||||
')',
|
||||
'i'
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in New Issue