From d2951ce7344dade96f78286cc311ed86c46d086e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 8 Apr 2019 15:22:51 +0300 Subject: Ammend function synopses a bit --- build2/functions-regex.cxx | 12 ++++++------ 1 file 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(, [, ]) + // $regex.match(, [, ]) // // 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 (move (re)), move (flags)); }; - // $regex.search(, [, ]) + // $regex.search(, [, ]) // // 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 (move (re)), move (flags)); }; - // $regex.replace(, , [, ]) + // $regex.replace(, , [, ]) // // 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(, , [, ]) + // $regex.split(, , [, ]) // // 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(, , [, [, ]]) + // $regex.merge(, , [, [, ]]) // // 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(, , [, ]) + // $regex.apply(, , [, ]) // // 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 -- cgit v1.1