[TEST] Changed the possessive matching syntax in cat.recovery
regex to use an independent subexpression. Possessive modifiers not supported on older Perl
This commit is contained in:
parent
cc530b9037
commit
a7362d9ac7
|
@ -24,7 +24,8 @@
|
||||||
- match:
|
- match:
|
||||||
$body: |
|
$body: |
|
||||||
/^
|
/^
|
||||||
( index1 \s+
|
(?>
|
||||||
|
index1 \s+
|
||||||
\d \s+ # shard
|
\d \s+ # shard
|
||||||
\d+ \s+ # time
|
\d+ \s+ # time
|
||||||
(gateway|replica|snapshot|relocating) \s+ # type
|
(gateway|replica|snapshot|relocating) \s+ # type
|
||||||
|
@ -38,5 +39,5 @@
|
||||||
\d+ \s+ # bytes
|
\d+ \s+ # bytes
|
||||||
\d+\.\d+% \s+ # bytes_percent
|
\d+\.\d+% \s+ # bytes_percent
|
||||||
\n
|
\n
|
||||||
)++
|
)+
|
||||||
$/
|
$/
|
||||||
|
|
Loading…
Reference in New Issue