Skip to content

Conversation

@BlazingTwist
Copy link
Contributor

This overload provides access to the matched text / indices of groups in RegEx.
You can also identify the number of capturing groups in a RegEx using "" regex 0 .& E

I extended the .& instruction, since it's already loosely related to RegEx operations, and avoids occupying an unused operator.

@nick-paul nick-paul merged commit fa9add5 into aya-lang:master Nov 19, 2025
1 check passed
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