When using quantifiers, Python supports two modes. Greedy and reluctant. The greedy mode is the default one. Been greedy, the quantifier will try to match as much as possible in order to get the biggest match result possible. Been reluctant, the quantifier will try to match as little as possible. In order to change the mode into reluctant we should add an extra question mark (?) to the quantifier, as in the following: +?, *? and ??.
Auf dieser Seite können Sie das Online-Video Regular Expressions Greedy & Reluctant Modifiers in Python mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer life michael 04 Juli 2015 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 326 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!