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

docs: mention the behavior of scan using regex with capturing groups #3240

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

itchyny
Copy link
Contributor

@itchyny itchyny commented Jan 27, 2025

This fixes #3086.

@itchyny itchyny added the docs label Jan 27, 2025
Copy link
Member

@wader wader left a comment

Choose a reason for hiding this comment

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

I guess name capture groups are treated as unnamed capture groups on purpose? not sure i have any good ide how it would work otherwise

@itchyny
Copy link
Contributor Author

itchyny commented Jan 28, 2025

Thank you. They are not different in capturing matches so I don't see any issue here.

@itchyny itchyny merged commit ce54621 into jqlang:master Jan 28, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

scan("(a)(b)") returning an array is not documented
2 participants