Boost logo

Boost Users :

From: Eric Niebler (eric_at_[hidden])
Date: 2008-06-07 17:55:15


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_char.cpp

HTH,

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

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