Can you add parameters too with
`#\{(?P<variable>\w+).?(?P<function>\w*):?(?P<parameters>\w*)\}#`

`$parameters = split(',', $match['parameters'][0]);`

`$objectValue = call_user_func(array($object, 'get'.$functionName), $parameters);`