in reply to Re: RE greediness
in thread RE greediness
EDIT:
Why would it do that when it can match zero times?
I guess I was thinking that since (?:b=(\w))? prefers to match once it would influence the behavior of .*? in an analogous way to how (?:b=(\w)) would, which, as you explained, isn't the case.
|
|---|