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

regexp/syntax: add examples for flag parsing #24136

kevinburke opened this issue Feb 26, 2018 · 1 comment

regexp/syntax: add examples for flag parsing #24136

kevinburke opened this issue Feb 26, 2018 · 1 comment


Copy link

Reading the description of grouping and flags, I'm confused about how those flags would apply to theoretical strings. An example or two would be good to demonstrate the use and placement of flags, as well as the resulting capture groups.

@bradfitz bradfitz modified the milestones: ujnpl, Unplanned Feb 26, 2018
Copy link

@kevinburke. I would like to tackle it, but have a couple of questions.

Maybe you meant the regexp package? It also lacks examples for Perl/POSIX syntax and groupings. I am asking because for me it's hard to see how to show a concise example based on regexp/syntax only. The output of regexp/syntax functions are structures indented for machine consumption.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

4 participants