aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-04-08 15:22:51 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-04-08 15:22:51 +0300
commitd2951ce7344dade96f78286cc311ed86c46d086e (patch)
tree8fc8bfac70adab2e1530786e1b0fcfa4793bd3e2
parent670060ab7c116960bc2c38b66a5f15e058964c9c (diff)
Ammend function synopses a bit
-rw-r--r--build2/functions-regex.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/build2/functions-regex.cxx b/build2/functions-regex.cxx
index 03fd038..3f44e8a 100644
--- a/build2/functions-regex.cxx
+++ b/build2/functions-regex.cxx
@@ -343,7 +343,7 @@ namespace build2
{
function_family f ("regex");
- // $regex.match(<string>, <pat> [, <flags>])
+ // $regex.match(<val>, <pat> [, <flags>])
//
// Match a value of an arbitrary type against the regular expression.
// Convert the value to string prior to matching. Return the boolean value
@@ -367,7 +367,7 @@ namespace build2
return match (move (s), convert<string> (move (re)), move (flags));
};
- // $regex.search(<string>, <pat> [, <flags>])
+ // $regex.search(<val>, <pat> [, <flags>])
//
// Determine if there is a match between the regular expression and some
// part of a value of an arbitrary type. Convert the value to string prior
@@ -398,7 +398,7 @@ namespace build2
return search (move (s), convert<string> (move (re)), move (flags));
};
- // $regex.replace(<string>, <pat>, <fmt> [, <flags>])
+ // $regex.replace(<val>, <pat>, <fmt> [, <flags>])
//
// Replace matched parts in a value of an arbitrary type, using the format
// string. Convert the value to string prior to matching. The result value
@@ -431,7 +431,7 @@ namespace build2
move (flags));
};
- // $regex.split(<string>, <pat>, <fmt> [, <flags>])
+ // $regex.split(<val>, <pat>, <fmt> [, <flags>])
//
// Split a value of an arbitrary type into a list of unmatched value parts
// and replacements of the matched parts, omitting empty ones. Convert the
@@ -459,7 +459,7 @@ namespace build2
move (flags));
};
- // $regex.merge(<strings>, <pat>, <fmt> [, <delim> [, <flags>]])
+ // $regex.merge(<vals>, <pat>, <fmt> [, <delim> [, <flags>]])
//
// Replace matched parts in a list of elements using the regex format
// string. Convert the elements to string prior to matching. The result
@@ -505,7 +505,7 @@ namespace build2
move (flags));
};
- // $regex.apply(<strings>, <pat>, <fmt> [, <flags>])
+ // $regex.apply(<vals>, <pat>, <fmt> [, <flags>])
//
// Replace matched parts of each element in a list using the regex format
// string. Convert the elements to string prior to matching. Return a list