[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:
Clinton Gormley 2014-05-13 11:02:05 +02:00
parent cc530b9037
commit a7362d9ac7
1 changed files with 3 additions and 2 deletions

View File

@ -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
)++ )+
$/ $/