Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
HP3ParShowVVLineParse
Open Workspace
PCRE (Legacy)
Match
Created 2015-12-20 15:58
1
Regular Expression
/
(
(?<ID>
\d
+
)
\s
(?<LunName>
[
a
-
zA
-
Z0
-
9_
]
+
)
\s
+
(?<ProvisionType>
tpvv
)
\s
(?<vvType>
base
)
\s
(?<CopyOf>
---
)
\s
+
(?<BsId>
\d
+
)
\s
+
(?<ReadWrite>
RW
|
RO
)
\s
(?<State>
normal
|
degraded
)
\s
+
(?<Adm>
\d
+
)
\s
+
(?<Snp>
\d
+
)
\s
+
(?<Usr>
\d
+
)
\s
+?
(?<VSize>
\d
+
)
)
/
g
Description
parses the ssh output of a 3par SSH showvv command
Submitted by
3nbin