diff --git a/docs/reference/modules/snapshots.asciidoc b/docs/reference/modules/snapshots.asciidoc index be28f030879..e0fd65882bf 100644 --- a/docs/reference/modules/snapshots.asciidoc +++ b/docs/reference/modules/snapshots.asciidoc @@ -194,7 +194,7 @@ $ curl -XPOST "localhost:9200/_snapshot/my_backup/snapshot_1/_restore" -d '{ "indices": "index_1,index_2", "ignore_unavailable": "true", "include_global_state": false, - "rename_pattern": "index_(.)+", + "rename_pattern": "index_(.+)", "rename_replacement": "restored_index_$1" }' -----------------------------------