[TEST] Removed nested quantifier in cat.allocation regex and made node name regex more liberal
This commit is contained in:
parent
c214acc5e7
commit
8bf302f6e2
|
@ -31,13 +31,13 @@ setup:
|
|||
$body: >
|
||||
/^
|
||||
( 0 \s+
|
||||
\d+(\.\d+)?+[kmgt]b \s+
|
||||
\d+(\.\d+)?+[kmgt]b \s+
|
||||
\d+(\.\d+)?+[kmgt]b \s+
|
||||
\d+(\.\d+)?[kmgt]b \s+
|
||||
\d+(\.\d+)?[kmgt]b \s+
|
||||
\d+(\.\d+)?[kmgt]b \s+
|
||||
\d+ \s+
|
||||
[-\w.]+ \s+
|
||||
\d+(\.\d+){3} \s+
|
||||
\w[-\w\s]*
|
||||
\w.*
|
||||
\n
|
||||
)+
|
||||
$/
|
||||
|
@ -61,13 +61,13 @@ setup:
|
|||
$body: >
|
||||
/^
|
||||
( [1-5] \s+
|
||||
\d+(\.\d+)?+[kmgt]b \s+
|
||||
\d+(\.\d+)?+[kmgt]b \s+
|
||||
\d+(\.\d+)?+[kmgt]b \s+
|
||||
\d+(\.\d+)?[kmgt]b \s+
|
||||
\d+(\.\d+)?[kmgt]b \s+
|
||||
\d+(\.\d+)?[kmgt]b \s+
|
||||
\d+ \s+
|
||||
[-\w.]+ \s+
|
||||
\d+(\.\d+){3} \s+
|
||||
\w[-\w\s]*
|
||||
\w.*
|
||||
\n
|
||||
)+
|
||||
(
|
||||
|
@ -88,13 +88,13 @@ setup:
|
|||
$body: >
|
||||
/^
|
||||
( 0 \s+
|
||||
\d+(\.\d+)?+[kmgt]b \s+
|
||||
\d+(\.\d+)?+[kmgt]b \s+
|
||||
\d+(\.\d+)?+[kmgt]b \s+
|
||||
\d+(\.\d+)?[kmgt]b \s+
|
||||
\d+(\.\d+)?[kmgt]b \s+
|
||||
\d+(\.\d+)?[kmgt]b \s+
|
||||
\d+ \s+
|
||||
[-\w.]+ \s+
|
||||
\d+(\.\d+){3} \s+
|
||||
[-\w\s]+
|
||||
\w.*
|
||||
\n
|
||||
)
|
||||
$/
|
||||
|
@ -128,13 +128,13 @@ setup:
|
|||
\n
|
||||
|
||||
( \s+0 \s+
|
||||
\d+(\.\d+)?+[kmgt]b \s+
|
||||
\d+(\.\d+)?+[kmgt]b \s+
|
||||
\d+(\.\d+)?+[kmgt]b \s+
|
||||
\d+(\.\d+)?[kmgt]b \s+
|
||||
\d+(\.\d+)?[kmgt]b \s+
|
||||
\d+(\.\d+)?[kmgt]b \s+
|
||||
\d+ \s+
|
||||
[-\w.]+ \s+
|
||||
\d+(\.\d+){3} \s+
|
||||
[-\w\s]+
|
||||
\w.*
|
||||
\n
|
||||
)+
|
||||
$/
|
||||
|
@ -150,7 +150,7 @@ setup:
|
|||
$body: >
|
||||
/^
|
||||
( \d+ \s+
|
||||
\w[-\w\s]*
|
||||
\w.*
|
||||
\n
|
||||
)+
|
||||
$/
|
||||
|
@ -168,7 +168,7 @@ setup:
|
|||
\n
|
||||
(
|
||||
\s+\d+ \s+
|
||||
\w[-\w\s]*
|
||||
\w.*
|
||||
\n
|
||||
)+
|
||||
$/
|
||||
|
@ -192,7 +192,7 @@ setup:
|
|||
\d+ \s+
|
||||
[-\w.]+ \s+
|
||||
\d+(\.\d+){3} \s+
|
||||
\w[-\w\s]*
|
||||
\w.*
|
||||
\n
|
||||
)+
|
||||
$/
|
||||
|
|
Loading…
Reference in New Issue