I would like to specify the regular expression during run-time, not compile-time.
So that is why pcre falls out.
Do you know C/c++ regular expression library that can parse streams and can recognise relatively complex regular expression such as .+?
Thanks.
AFAIK boost::regex should know how to work with streams and it supports perl regular expressions