Skip to content

regex: Enhance pcre_match to optionally return the matched string#3901

Open
ovidiusas wants to merge 1 commit into
OpenSIPS:masterfrom
ovidiusas:master_regex_match
Open

regex: Enhance pcre_match to optionally return the matched string#3901
ovidiusas wants to merge 1 commit into
OpenSIPS:masterfrom
ovidiusas:master_regex_match

Conversation

@ovidiusas
Copy link
Copy Markdown
Member

Summary
Enhance pcre_match() to optionally return the matched string

Details
Sometimes it is useful to have access to the matched string during a pcre_match() operation.

Solution
Provide an optional third parameter to pcre_match() to capture the matched string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant