Revision: 75812
http://sourceforge.net/p/brlcad/code/75812
Author: starseeker
Date: 2020-05-15 12:40:37 +0000 (Fri, 15 May 2020)
Log Message:
-----------
tighten the header regexes
Modified Paths:
--------------
brlcad/trunk/regress/repository/repocheck.cpp
Modified: brlcad/trunk/regress/repository/repocheck.cpp
===================================================================
--- brlcad/trunk/regress/repository/repocheck.cpp 2020-05-15 12:28:39 UTC
(rev 75811)
+++ brlcad/trunk/regress/repository/repocheck.cpp 2020-05-15 12:40:37 UTC
(rev 75812)
@@ -123,7 +123,7 @@
cnt = 0;
rf = bio_filter_strs[cnt];
while (rf) {
- std::string rrf = std::string(".*<") + std::string(rf) +
std::string(">.*");
+ std::string rrf = std::string("#[[:space:]]*include[[:space:]]*<")
+ std::string(rf) + std::string(">.*");
r.bio_filters[std::string(rf)] = std::regex(rrf);
cnt++;
rf = bio_filter_strs[cnt];
@@ -140,7 +140,7 @@
cnt = 0;
rf = bnetwork_filter_strs[cnt];
while (rf) {
- std::string rrf = std::string(".*<") + std::string(rf) +
std::string(">.*");
+ std::string rrf = std::string("#[[:space:]]*include[[:space:]]*<")
+ std::string(rf) + std::string(">.*");
r.bnetwork_filters[std::string(rf)] = std::regex(rrf);
cnt++;
rf = bnetwork_filter_strs[cnt];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits