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

Rust named capture groups appear as errors #2220

Closed
esemeniuc opened this issue Feb 3, 2024 · 1 comment
Closed

Rust named capture groups appear as errors #2220

esemeniuc opened this issue Feb 3, 2024 · 1 comment
Labels
bug rust Rust language related

Comments

@esemeniuc
Copy link

Bug Description

This example fails in regex101: https://docs.rs/regex/latest/regex/#example-named-capture-groups

Docs:
https://docs.rs/regex/latest/regex/#grouping-and-flags

Reproduction steps

I enter Homer (?<middle>.)\. Simpson using the rust option, and I see the following:
image

Expected Outcome

I expect to see a capture group for the middle name.

Browser

Firefox 122.0

OS

Arch Linux, kernel 6.6

@esemeniuc esemeniuc added the bug label Feb 3, 2024
@working-name working-name added the rust Rust language related label Feb 6, 2024
@firasdib
Copy link
Owner

See #2167

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug rust Rust language related
Projects
None yet
Development

No branches or pull requests

3 participants