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