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