extending

Python re – force lazy quantifiers

Python re – force lazy quantifiers Question: Is there a simple way (that doesn’t include writing custom regex parser) to force lazy quantifiers in a provided regex. By that I mean either: replace default greedy quantifiers with lazy versions or change behavior of greedy (and possessive!) quantifiers, to work like lazy ones? The regular expression …

Total answers: 1