karelpeeters
12/09/2017, 11:37 AMstkent
12/09/2017, 2:55 PM?
in <.*?>
?karelpeeters
12/09/2017, 3:09 PM*
is greedy, meaning it takes as much of the input as possible, and that would be problematic in a string like "{<abc>}<abc>"
. Using *?
makes it take as little of the input as possible.stkent
12/10/2017, 11:20 PM