Boost logo

Boost Users :

From: mike.duong_at_[hidden]
Date: 2004-02-24 17:51:41


Hi,

Can someone please help? I would like to replace the match (*) with raw data. Is this possible?

regex_replace(out, file_stream.begin(), file_stream.end(), my_regex, "(?12)",
match_default | format_all);

How can I replace the match with a number 2? I've tried difference combination of escape character before the 2 such as (?1\\d2) but it doesn't seems to work.

Thanks,
Mike


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net