rename Resource
Renames any resources that match the provided pattern.
The pattern will match resource paths, with optional wildcards:
*
will match a single path part.**
will match against the remainder of any valid fully-qualified resource path.
replacement is a resource path which can optionally reference the substrings matched by the wildcards. A numbered reference is available for every wildcard in the pattern, starting from left to right: @1
, @2
, etc. A special @0
reference contains the entire matched resource path.