in reply to Re: RE: Quantifiers in regular expressions
in thread Quantifiers in regular expressions
A greedy quantifier will take as many characters as it can, and then start backtracking until whatever follows it matches. A non-greedy one will take as few characters as it can, and then take more until whatever is supposed to follow it is found.
|
---|