- 🇳🇱Netherlands megachriz
Array replacing is now supported.
If the source data is:
[ 'name' => [ 'foo', 'bar', 'qux', ], 'ext' => [ 'jpg', 'png', 'gif', ], ]
And you apply a the Rewrite plugin to the source 'name' using the text
[name].[ext]
You will get:
[ 'name' => [ 'foo.jpg', 'bar.png', 'qux.gif', ], 'ext' => [ 'jpg', 'png', 'gif', ], ]
I've also been working on supporting nested data, if you use the text
[name].[ext.1]
instead, you should get:[ 'name' => [ 'foo.png', 'bar.png', 'qux.png', ], 'ext' => [ 'jpg', 'png', 'gif', ], ]
For this I've not added test coverage yet. Marking as "needs work" for additional test coverage.