
17 Mar
2011
17 Mar
'11
9:49 a.m.
Hi all, I am not really familiar with regexp, an I am facing a problem. I have some strings containing unicode sequences (like "\u****"), and I would like to replace them with html sequences (such that "\u****" becomes "****;"). I think I can do that with boost regexp, but I really do not know how. The major problem is that I do not now in advance what are the characters for "****". I however know that they are always 4 and alphanumeric. So, I have to detect them and also append after a ";". Do you have any hint on how to do that? Best regards, Olivier