It depends on your requirements. You didn't state them explicitly but presumably performance is more important to you than portability and features. PCRE is much more portable than boost, is very widely used in high profile products (PHP, Python, Apache, ...), indeed it's a de facto standard.
One possibility is to support both boost and PCRE. As for resources required to add PCRE, I added PCRE to our cross-platform library (11 different platforms) in, oh, a day or so. It is ANSI C and built and ran fine on all 11 platforms with no problems. Compare that to stlport which has been a portability nightmare for us, taking months of effort. Now, boost is a fine library, written by ANSI C++ experts ... but are they regex experts?
Out of curiosity, which compilers/platforms are you currently supporting with boost?
Update:
As I was testing this thing I found some limitations: Lookaheads, controlling greedy quantifier, ...
I've never used the boost regex library but am keenly interested in it and just took a look at its doco, which states that it supports both perl5-style lookahead assertions (see "Forward Lookahead Asserts" section) and non-greedy quantifiers (see "Non-greedy repeats" section). Can you give more details of the problems you were having with these?
In reply to Re: Regex libraries
by eyepopslikeamosquito
in thread Regex libraries
by Schuk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |