aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/functions-regex.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-04-02 12:49:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-04-02 12:49:10 +0200
commit0fb42229a5bf13170667701ad6cb468d58348007 (patch)
treed56760707760af718decb319ea17f91d1e98e51a /libbuild2/functions-regex.cxx
parent3d08bfb688cf08fb805c9431d43e65d58dcb8669 (diff)
Fix ~host config to only contain cc and bin modules configuration
Also add ~build2 that contains everything (except config.dist.*) to be used for build system modules.
Diffstat (limited to 'libbuild2/functions-regex.cxx')
-rw-r--r--libbuild2/functions-regex.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/functions-regex.cxx b/libbuild2/functions-regex.cxx
index 48955ae..6a8c83a 100644
--- a/libbuild2/functions-regex.cxx
+++ b/libbuild2/functions-regex.cxx
@@ -555,6 +555,9 @@ namespace build2
// containing the unmatched lines and line replacements
// seperated with newlines.
//
+ // Note that if format_no_copy is specified, unmatched lines are not
+ // copied either.
+ //
f[".replace_lines"] = [](value s,
string re,
string fmt,