Substitutes {agent} in a string. The replacement is a function so the name is inserted literally: a string replacement would expand $&, $', $1 and friends inside an agent name.
{agent}
$&
$'
$1
Substitutes
{agent}in a string. The replacement is a function so the name is inserted literally: a string replacement would expand$&,$',$1and friends inside an agent name.