﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2616	StringRegExp - new example - request	mlipok		"Please make a one new example which show the difference between:
greedy / possessive / lazy

i think the best example (simplest) can be done by using this ""methodes"":

{{{
? 0 or 1, greedy. 
?+ 0 or 1, possessive. 
?? 0 or 1, lazy. 
}}}


'''justification:'''
in SRE these methodes are very important and used in many different ways:

{{{
? 0 or 1, greedy. 
?+ 0 or 1, possessive. 
?? 0 or 1, lazy. 

* 0 or more, greedy. 
*+ 0 or more, possessive. 
*? 0 or more, lazy. 

+ 1 or more, greedy. 
++ 1 or more, possessive. 
+? 1 or more, lazy. 

{x} exactly x. 

{x,y} at least x and no more than y, greedy. 
{x,y}+ at least x and no more than y, possessive. 
{x,y}? at least x and no more than y, lazy. 

{x,} x or more, greedy. 
{x,}+ x or more, possessive. 
{x,}? x or more, lazy. 
}}}


It would be good to make clear example showing the difference between these methods

I know that it is now a good description of the greatly expanded but always better example demonstrates the use, in other words:
code is better than words ;)"	Feature Request	closed		Documentation		None	Rejected		
