
rovf
Veteran
Feb 1, 2013, 1:24 AM
Post #3 of 4
(17857 views)
|
Re: [bobt_1234] Greedy expression doesn't work like I expect
[In reply to]
|
Can't Post
|
|
Doesn't the question mark do a "greedy" search? No, it's the opposite. By default, * and + are greedy, and the ? makes them non-greedy. Reason is that we want to have greediness more frequently than non-greediness.
|