aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/functions-regex.cxx
diff options
context:
space:
mode:
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,