mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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
This commit is contained in:
@@ -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">
|
||||
|
Reference in New Issue
Block a user