[PATCH] D22353: FileCheck Enhancement - CHECK-WORD
Duncan P. N. Exon Smith via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 13 10:33:13 PDT 2016
> On 2016-Sep-13, at 07:41, Elena Lepilkina <eklepilkina at gmail.com> wrote:
>
> eklepilkina added a comment.
>
>> What are our options with the regex library? Is there a newer version of the one we are currently using that we could upgrade to (and that supports \b)?
>
>
> As I understood used regexp library is version of OpenBSD library. I couldn't find some new versions.
> I don't know a lot about modern C++ regexp library, but there are:
>
> 1. PCRE(pcre.h)
> 2. There is regex library in boost. But boost is too big
The boost one was included in the STL in C++11. Maybe we can just use that...
> 3. Also there is regex library in poco.
>
> May be there are people who has some experience with C++ regexs libraries.
>
>> How much work would it be to implement support for \b ourselves?
>
>
> I can't give exact estimate. I inly had a look on its source code. But I think that it's wrong to add features support. There are a lot of other useful feautures, for example complex assertions, conditional subexpressions and etc., that can be used. Then if somebody want them he should implement them by himself.
>
>
> https://reviews.llvm.org/D22353
>
>
>
More information about the llvm-commits
mailing list