> What is the difference between greedy, reluctant and posessive
> quantifiers?
Greedy
? try to match 1, 0 is ok (*1)
* try to match many, 0 is ok (*1)
+ try to match many, 1 is ok (*1)
Reluctant
+? try to match 1, more is ok (*1)
*? try to match 0, more is ok (*1)
(*1) if necessary to make the pattern match
> X(n,m)
as you would expect, match n to m
> X(n,m)?
match n to m, or none
> X(n,m)+
match n to m, one or more times