Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added regexp support for response codes #769

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Conversation

petr-cisar
Copy link

@petr-cisar petr-cisar commented Nov 4, 2024

Now the regexp_match attribute should also work for response codes. Example:
<recv response="^18" regexp_match="true" optional="true">

@orgads
Copy link
Contributor

orgads commented Nov 7, 2024

Nice! Can you please add a test?

Copy link
Contributor

@orgads orgads left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rebase.

src/call.cpp Outdated Show resolved Hide resolved
src/call.cpp Show resolved Hide resolved
src/call.cpp Outdated Show resolved Hide resolved
regress/github-#0769/run Outdated Show resolved Hide resolved
@orgads
Copy link
Contributor

orgads commented Nov 7, 2024

The second commit message mentions style fixes and DTD update, but looks like you forgot to stage them?

@orgads
Copy link
Contributor

orgads commented Nov 7, 2024

Great, just fix the test author name and squash the commits and we're good to go.

Now the regexp_match attribute should also work for response codes.

Example:
<recv response="^18" regexp_match="true" optional="true">
@petr-cisar
Copy link
Author

Commits squashed. Hopefully all is OK, this is my first attempt to contribute to a project on GH, so it takes some googling and learning.

@orgads
Copy link
Contributor

orgads commented Nov 7, 2024

You lost the merged changes on squash. I fixed it for you.

@orgads orgads merged commit 03d7c04 into SIPp:master Nov 7, 2024
7 checks passed
@orgads
Copy link
Contributor

orgads commented Nov 7, 2024

Thank you!

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.

2 participants