[PATCH] D22353: FileCheck Enhancement - CHECK-WORD

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 10:08:36 PDT 2016


aprantl added a comment.

In https://reviews.llvm.org/D22353#536766, @eklepilkina wrote:

> In https://reviews.llvm.org/D22353#535691, @alexfh wrote:
>
> > Why not add more words to check lines to make them more strict? BTW, does FileCheck support `{{\b}}`?
> >  So is it feasible to add support for \b to LLVM regexps?
>
>
> The regexp library is very old. I asked several times about changing it. But I haven't got any answer. There are a lot of other unsupported features of regexs in this library and which can be useful.


I think it would be worthwhile to bring this up again. 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)? How much work would it be to implement support for \b ourselves?


https://reviews.llvm.org/D22353





More information about the llvm-commits mailing list