-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: prefer fewer doesn't work with (.*)+? #32704
Comments
Perhaps you want |
@av86743 Do you mean |
Affect repetitions of constant pattern - yes, indeed. Affect behavior of nested repetition modifier in preceding capture - no, it doesn't. Should I also point out the inefficiency of your original pattern? In order to figure out the last |
So, the behavior of Of course, I know my original pattern is inefficiency. I want to figure out the first Thank you very much! |
I wouldn't say |
For future questions about Go, see https://golang.org/wiki/Questions. |
Hi there, There are many other methods to get help if you're still curious:
Thanks |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
abbbb
cd
e
What did you see instead?
abbbb
cd
efg
he
The text was updated successfully, but these errors were encountered: