Hi Kimo,

On Wed, Feb 20, 2013 at 04:07:03PM -0800, Kimo Rosenbaum wrote:
> Is it possible to use backreferences in a replace target? ie:

no, this is currently not possible. I guess it would be pretty straight
forward to iterate over the "pmatch" array filled by regexec() and use
the utility functions in src/utils_subst.h to replace "\1", ...

Best regards,
—octo
-- 
collectd – The system statistics collection daemon
Website: http://collectd.org
Google+: http://collectd.org/+
GitHub:  https://github.com/collectd
Twitter: http://twitter.com/collectd

Attachment: signature.asc
Description: Digital signature

_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to