关于使用正则表达式解决办法

关于使用正则表达式boost::regex reg((.*)(j)(.*), boost::regex::icase|boost::regex::perl)std::stri

关于使用正则表达式
boost::regex reg("(.*)(j)(.*)", boost::regex::icase|boost::regex::perl);

std::string s="lskfjwoerijwlfkjsdfklskjfweortkewlrkwjfl";

s=boost::regex_replace(s,reg, "$151$3");

       std::cout << s;
想将‘j’替换成‘1’,应该怎么写?谢谢
[解决办法]
这种情况下用basic_string::replace就可以了