Not necessarily from right. It depends on your
pattern.
Use ".*\"" and you will get 0 : 61 : Houston, we have a problem with "string one" and "string two" (Chopping from right)
Use "\".*" and you will get 32 : 78 : "string one" and "string two". Please respond. (Chopping from left)
In your case, source
string is chopped from both ends. So you get 32 : 61 : "string one" and "string two"
Chopping is also called backing off and can occur from any end of source.
Rule of thumb : "
Greedy quantifier returns the biggest possible search result."