7 Jun
2008
7 Jun
'08
9:55 p.m.
Hansi wrote:
Is there also somewhere an example which handles binary data? I think xpressive is the right library to use!
Here's a brief section in the docs on searching non-character data with xpressive. http://tinyurl.com/5blyuw It's a bit out of date in that it suggests that you can only use static regexes for non-char data, which isn't true (TODO FIXME). The following shows how to use xpressive to search non-char data with dynamic or static regexes. It is part of xpressive's test suite: http://svn.boost.org/trac/boost/browser/trunk/libs/xpressive/test/test_non_c... HTH, -- Eric Niebler BoostPro Computing http://www.boostpro.com