aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2010-02-17 19:51:53 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2010-02-17 19:51:53 +0000
commitb47f51986102eea9795a0c3914c2705556635e09 (patch)
tree850473272a4f4cf99ce0a3c90eecca8facc60bcc /funcs
parentb003798c0ad0b5654e018363f38f3885ac1a004e (diff)
Add support for GROUP_MATCH_COUNT regex matching on category
Current support for regex matching was previously only available on the group. Also, error reporting for regex failures has been added. In addition to this feature enhancement a unit test has been written to check the regular expression logic to ensure the count operation is working as expected. (closes issue #16642) Reported by: kobaz Patches: groupmatch2.patch uploaded by kobaz (license 834) Review: https://reviewboard.asterisk.org/r/503/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@247295 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_groupcount.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/funcs/func_groupcount.c b/funcs/func_groupcount.c
index 4ee88a882..70c396436 100644
--- a/funcs/func_groupcount.c
+++ b/funcs/func_groupcount.c
@@ -58,12 +58,13 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
<para>A standard regular expression used to match a group name.</para>
</parameter>
<parameter name="category">
- <para>Category name.</para>
+ <para>A standard regular expression used to match a category name.</para>
</parameter>
</syntax>
<description>
<para>Calculates the group count for all groups that match the specified pattern.
- Uses standard regular expression matching (see regex(7)).</para>
+ Note: category matching is applied after matching based on group.
+ Uses standard regular expression matching on both (see regex(7)).</para>
</description>
</function>
<function name="GROUP" language="en_US">