[PATCH] D22353: FileCheck Enhancement - CHECK-WORD

Elena Lepilkina via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 07:41:38 PDT 2016


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
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