summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
authorJeff Peeler <jpeeler@digium.com>2010-02-17 19:51:53 +0000
committerJeff Peeler <jpeeler@digium.com>2010-02-17 19:51:53 +0000
commit27a4cda821b3093bb41c29e23d1fb9d62890597a (patch)
tree850473272a4f4cf99ce0a3c90eecca8facc60bcc /funcs
parente8d201e870bbadea78d448e21cc2c19c3da8c13d (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: https://origsvn.digium.com/svn/asterisk/trunk@247295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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">