Boost logo

Boost Users :

From: gast128 (gast128_at_[hidden])
Date: 2006-08-09 06:44:06


Dear all,

I want to misuse boost regex for pattern searching. The intermediate form will
then be a string, but some of its characters can have multiple values, e.g:

aaa
aba
aac
abc

Thus the string can be represented as a[a,b][a,c]. Still on this multiple
string representation I want the full power of regular expressions, so I still
want to search for aaa, or (a|b)* etc.

Is it possible to create some sort of adjusted string and overload the
operator== ?

I know that as alternative I can adjust the matching string, but this would be
a fallback.

Wkr,
me


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