Wi-Fizzle.com - Putting the fizzle in Wi-Fi since 2005 .. (yes, this was a poor choice for a domain name)

#100
Vim Greedy and Non-Greedy Quantifiers

Posted by dandriff on Saturday April 28, 2007@09:51AM

 
 Quantifier Description
 *          matches 0 or more of the preceding characters, ranges or
            metacharacters .* matches everything including empty line
 \+         matches 1 or more of the preceding characters...
 \=         matches 0 or 1 more of the preceding characters...
 \{n,m}     matches from n to m of the preceding characters...
 \{n}       matches exactly n times of the preceding characters...
 \{,m}      matches at most m (from 0 to m) of the preceding characters...
 \{n,}      matches at least n of of the preceding characters...
                                where n and m are positive integers (>0)
 

Originally found at http://www.geocities.com/volontir/#Non-Greedy