Make has the function patsub
to replace, or remove, text patterns in a string. documentation only has examples containing fixed portions of text.
Does make have any native way of applying regex to a string? Something like:
$(patsubst [0-9]+,,"arquivo1 arquivo2 arquivo3")
That would replace all numbers by nothing, returning:
"arquivo arquivo arquivo"