This adds to the documentation that the matcher supports/implements POSIX BRE and ERE.
It also fixes a minor issue in the regexp describing a variable name: underscores are allowed too.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I would like to add links for BRE and ERE, to get a quick syntax overview. Not sure what page would be best for that, and if we e.g. can or like to link to wikipedia (https://en.wikipedia.org/wiki/Regular_expression#POSIX_basic_and_extended) or something else.
Comment Actions
Thanks for reviewing/checking. The regexp class implements both BRE and ERE, but it defaults to using ERE. Thus FileCheck defaults to ERE. As the mode is not exposed to the user (with e.g. an option), I kept it simple and now say that FileCheck supports ERE.