Greetings all!
Say I have to write a module in C++ that takes two parameters at input -
a set of regular expressions and plain textual data accompanied by
several levels of metadata for each token of the plain text - and then
applies these regular expressions on text+metadata in various ways and
finally provides some kind of annotated output (irrelevant to our
topic). So these regular expressions have a syntax regarding to
different levels of processing the input text: they can process plain
text only, metadata only and text and metadata combined. So the task at
hand for me is to write a module that applies these special,
"multilevel" regular expressions on the input and now at last comes the
initial question: Is there an existing library providing this type of
functionality? And even more general, how would you - this applies to
experienced C++ programmers only :) - approach this problem from
scratch? I thank you in advance!
--
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]