21 Jul
2010
21 Jul
'10
8:58 p.m.
On 7/21/2010 2:39 PM, Pavol Supa wrote:
Hi,
I need to match a hex-written byte array, optionally separated with spaces. So i tried:
boost::xpressive::sregex r = * ( * blank >> repeat<2,2> (xdigit)); smatch match; regex_match (input, match, r);
Oh also, beware of blank; only the <space> and <tab> characters are guaranteed to be in this set. -- Eric Niebler BoostPro Computing http://www.boostpro.com