Skip to content

Require unique names for named captures #264

Closed
@rxwei

Description

@rxwei

According to regex101, PCRE2 requires a unique name for each capture, but the current implementation of Regex.init(compiling:) doesn't throw an error when there's duplicate names.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions