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

feat: add to support non-capturing group syntax #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

elton2048
Copy link

It extends the Capture expression type to include capturing boolean flag to indicate whether it should be captured or not. In compile process, if the capturing flag is false, the expression will be parsed only without putting capturing information into slot.

Resolve: #34

 - Add logic to check the group expression modifiers
 - Implement non-capturing group logic which return `Patch` without
 changing the capture parts responsible for capturing group

Resolve: tiehuis#34
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.

Support group with Perl flag setting and non-capturing group
1 participant