Conditional Regular Expression to exclude certain directories
问题 I'd like to exclude certain directories of code from getting analyzed for code coverage. I'm using the LCOV tool which has a --exclude parameter which I can include a regular expression to exclude files, packages, etc... What would be the regular expression to exclude all directions except for Src/High/SS/FormCalc: Src/High/SS/ATG_Help Src/High/SS/ConvCalc Src/High/SS/ConvX Src/High/SS/EFiling Src/High/SS/Edit Src/High/SS/FormCalc Src/High/SS/FormDisp Src/High/SS/Image Src/High/SS/Import Src