Skip to content

Conversation

@CAD97
Copy link
Contributor

@CAD97 CAD97 commented Jan 28, 2022

This caught me out: mentally I map "captured groups" to the successful captures; capture groups that didn't capture anything weren't "captured." I understand why the function returns what it does in retrospect, but hopefully this can help someone else.

Copy link
Member

@BurntSushi BurntSushi left a comment

Choose a reason for hiding this comment

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

Can you make the same change to re_bytes.rs as well?

@BurntSushi
Copy link
Member

Nevermind, I'll make the change and include it in a rollup.

BurntSushi pushed a commit that referenced this pull request Jul 5, 2022
We do the same for CaptureLocations too.

Closes #832
@BurntSushi BurntSushi closed this in 7d21662 Jul 5, 2022
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